Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 165.3 kB / 23.55 MB, free: 0.8594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.88/2.88, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8108 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.721e-05, allocations: 5.125 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007321/0.007348, allocations: 4.5 MB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003541/0.01089, allocations: 2.467 MB / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.011, allocations: 0 / 0.8176 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.01125, allocations: 51.61 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.01156, allocations: 95.83 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.01297, allocations: 0.5354 MB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.01332, allocations: 243.8 kB / 0.8185 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.01336, allocations: 9.812 kB / 0.8185 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002921/0.01366, allocations: 151.6 kB / 0.8187 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.01381, allocations: 80.55 kB / 0.8188 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.01384, allocations: 8 kB / 0.8188 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007088/0.01455, allocations: 319.8 kB / 0.8191 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.01464, allocations: 51.5 kB / 0.8191 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.919e-05/0.01472, allocations: 55.91 kB / 0.8192 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008226/0.01555, allocations: 378.8 kB / 0.8195 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.01555, allocations: 7.984 kB / 0.8195 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.01555, allocations: 0 / 0.8195 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.01556, allocations: 0 / 0.8195 GB, free: 9.184 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008108/0.01637, allocations: 437.5 kB / 0.82 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.0164, allocations: 8.031 kB / 0.82 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.01662, allocations: 48.7 kB / 0.82 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.01692, allocations: 147.4 kB / 0.8201 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.01694, allocations: 16.64 kB / 0.8202 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.01698, allocations: 20.38 kB / 0.8202 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.0176, allocations: 499.8 kB / 0.8207 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.01761, allocations: 192 / 0.8207 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.01764, allocations: 13.16 kB / 0.8207 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.01767, allocations: 8 kB / 0.8207 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.01824, allocations: 416.6 kB / 0.8211 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.01951, allocations: 0.775 MB / 0.8218 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.01986, allocations: 147.5 kB / 0.822 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.01997, allocations: 58 kB / 0.822 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008385/0.02081, allocations: 460.5 kB / 0.8225 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.02084, allocations: 38.56 kB / 0.8225 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.02084, allocations: 1.25 kB / 0.8225 GB, free: 5.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0004284/0.02127, allocations: 155.8 kB / 0.8227 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.02132, allocations: 51.41 kB / 0.8227 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.02148, allocations: 163 kB / 0.8229 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.02151, allocations: 29.7 kB / 0.8229 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.02162, allocations: 144.1 kB / 0.823 GB, free: 5.367 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.02168, allocations: 55.48 kB / 0.8231 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.82e-05/0.02176, allocations: 49.7 kB / 0.8231 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.02193, allocations: 332.1 kB / 0.8234 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/0.02202, allocations: 31.97 kB / 0.8235 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.02221, allocations: 141.7 kB / 0.8236 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.0225, allocations: 194.3 kB / 0.8238 GB, free: 4.473 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.02251, allocations: 8 kB / 0.8238 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004252/0.02293, allocations: 227.2 kB / 0.824 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.02295, allocations: 4 kB / 0.824 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.02296, allocations: 4.469 kB / 0.824 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/0.02298, allocations: 8 kB / 0.824 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.02319, allocations: 63.91 kB / 0.8241 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.0232, allocations: 4 kB / 0.8241 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.02332, allocations: 31.72 kB / 0.8241 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.02334, allocations: 16 kB / 0.8241 GB, free: 4.109 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.02347, allocations: 133.7 kB / 0.8243 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.02353, allocations: 23.89 kB / 0.8243 GB, free: 3.945 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.02388, allocations: 142.3 kB / 0.8244 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.02389, allocations: 4 kB / 0.8244 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02389, allocations: 0 / 0.8244 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.02389, allocations: 4 kB / 0.8244 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.02416, allocations: 157.1 kB / 0.8246 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.02416, allocations: 4 kB / 0.8246 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.02429, allocations: 31.92 kB / 0.8246 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.02429, allocations: 7.938 kB / 0.8246 GB, free: 3.562 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.0243, allocations: 3.984 kB / 0.8246 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.02431, allocations: 0 / 0.8246 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02431, allocations: 0 / 0.8246 GB, free: 3.559 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.02461, allocations: 223.3 kB / 0.8248 GB, free: 3.324 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.02469, allocations: 31.88 kB / 0.8249 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.02471, allocations: 8 kB / 0.8249 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.02492, allocations: 11.98 kB / 0.8249 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.02495, allocations: 15.97 kB / 0.8249 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.02498, allocations: 12 kB / 0.8249 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000104/0.02508, allocations: 107.2 kB / 0.825 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02508, allocations: 3.938 kB / 0.825 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004151/0.0255, allocations: 79.81 kB / 0.8251 GB, free: 3.059 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00035/0.02585, allocations: 187 kB / 0.8253 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.0261, allocations: 114.2 kB / 0.8254 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.0261, allocations: 4 kB / 0.8254 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/0.02617, allocations: 36.86 kB / 0.8254 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.02657, allocations: 50.72 kB / 0.8255 GB, free: 2.672 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007287/0.0273, allocations: 309.5 kB / 0.8258 GB, free: 2.344 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.02741, allocations: 102.9 kB / 0.8259 GB, free: 2.227 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.02756, allocations: 45.33 kB / 0.8259 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.858e-05/0.02762, allocations: 32.48 kB / 0.8259 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.02762, allocations: 0 / 0.8259 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of Templates: time 0.007809/0.03543, allocations: 3.155 MB / 0.829 GB, free: 15.07 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.12066702498123]