Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.0007779/0.0007779, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001876, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007291/0.0007291, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009605/0.00169, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9998/0.9998, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09818/1.098, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.425/2.425, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2473/2.672, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.342e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004409/0.004432, allocations: 4.667 MB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.006598, allocations: 2.835 MB / 0.8257 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.006674, allocations: 7.938 kB / 0.8257 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.006868, allocations: 47.69 kB / 0.8257 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.007054, allocations: 99.23 kB / 0.8258 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.007924, allocations: 0.5013 MB / 0.8263 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.00812, allocations: 251.8 kB / 0.8265 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.008163, allocations: 10.45 kB / 0.8266 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007551/0.008919, allocations: 0.4909 MB / 0.827 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/0.009013, allocations: 71.78 kB / 0.8271 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.009035, allocations: 8 kB / 0.8271 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006935/0.009728, allocations: 0.495 MB / 0.8276 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.009784, allocations: 31.88 kB / 0.8276 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.00983, allocations: 47.94 kB / 0.8277 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.01024, allocations: 323 kB / 0.828 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.758e-05/0.01026, allocations: 0 / 0.828 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.743e-06/0.01026, allocations: 3.938 kB / 0.828 GB, free: 8.941 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.01028, allocations: 0 / 0.828 GB, free: 8.941 MB / 0.8073 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.0006765/0.01095, allocations: 0.5321 MB / 0.8285 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.01099, allocations: 12.62 kB / 0.8285 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.01112, allocations: 40.78 kB / 0.8285 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.01129, allocations: 161.5 kB / 0.8287 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.0113, allocations: 12.7 kB / 0.8287 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.01132, allocations: 20.31 kB / 0.8287 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.01158, allocations: 393.9 kB / 0.8291 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.0116, allocations: 4.125 kB / 0.8291 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.01162, allocations: 8.125 kB / 0.8291 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.01165, allocations: 11.94 kB / 0.8291 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.01186, allocations: 246.3 kB / 0.8294 GB, free: 7.375 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006325/0.01249, allocations: 0.7445 MB / 0.8301 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.01268, allocations: 168.8 kB / 0.8303 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.01272, allocations: 36.83 kB / 0.8303 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004552/0.01318, allocations: 462 kB / 0.8307 GB, free: 5.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.0132, allocations: 42.55 kB / 0.8308 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.01321, allocations: 0 / 0.8308 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15): time 0.0001701/0.01338, allocations: 133.6 kB / 0.8309 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.01341, allocations: 55.41 kB / 0.831 GB, free: 5.656 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.0135, allocations: 161.3 kB / 0.8311 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.01352, allocations: 33.7 kB / 0.8311 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.01359, allocations: 152 kB / 0.8313 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.01361, allocations: 47.58 kB / 0.8313 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.01366, allocations: 57.62 kB / 0.8314 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.01375, allocations: 326.8 kB / 0.8317 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/0.01378, allocations: 26.81 kB / 0.8317 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.646e-05/0.01386, allocations: 129.6 kB / 0.8318 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.01408, allocations: 178 kB / 0.832 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.01409, allocations: 4 kB / 0.832 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001525/0.01424, allocations: 164.1 kB / 0.8322 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.01426, allocations: 8.469 kB / 0.8322 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01426, allocations: 4 kB / 0.8322 GB, free: 4.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.01428, allocations: 8 kB / 0.8322 GB, free: 4.242 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.01444, allocations: 67.91 kB / 0.8323 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01444, allocations: 11.92 kB / 0.8323 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.0145, allocations: 23.83 kB / 0.8323 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01452, allocations: 11.98 kB / 0.8323 GB, free: 4.129 MB / 0.8073 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 7.219e-05/0.01459, allocations: 136.5 kB / 0.8324 GB, free: 3.984 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.01462, allocations: 11.98 kB / 0.8324 GB, free: 3.973 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.01477, allocations: 110.2 kB / 0.8326 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.01479, allocations: 4 kB / 0.8326 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.01479, allocations: 4 kB / 0.8326 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01479, allocations: 0 / 0.8326 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.01491, allocations: 109.7 kB / 0.8327 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01491, allocations: 3.938 kB / 0.8327 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.01499, allocations: 39.92 kB / 0.8327 GB, free: 3.684 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-05/0.01502, allocations: 19.94 kB / 0.8327 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01503, allocations: 4 kB / 0.8327 GB, free: 3.66 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.01503, allocations: 3.984 kB / 0.8327 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.01504, allocations: 7.938 kB / 0.8327 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01504, allocations: 7.984 kB / 0.8327 GB, free: 3.641 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.01517, allocations: 233.2 kB / 0.833 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.01519, allocations: 11.94 kB / 0.833 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.01527, allocations: 7.984 kB / 0.833 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.01529, allocations: 11.98 kB / 0.833 GB, free: 3.367 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.0153, allocations: 8 kB / 0.833 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.637e-05/0.01533, allocations: 34.44 kB / 0.833 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01533, allocations: 0 / 0.833 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002416/0.01557, allocations: 79.83 kB / 0.8331 GB, free: 3.246 MB / 0.8073 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.0002521/0.01582, allocations: 160.2 kB / 0.8333 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.01595, allocations: 104.5 kB / 0.8334 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.01596, allocations: 0 / 0.8334 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.01599, allocations: 41.7 kB / 0.8334 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.0162, allocations: 71.83 kB / 0.8335 GB, free: 2.859 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.01899, allocations: 342.8 kB / 0.8338 GB, free: 2.496 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.172e-05/0.01904, allocations: 71.98 kB / 0.8339 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.01914, allocations: 45.33 kB / 0.8339 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.01929, allocations: 121.3 kB / 0.834 GB, free: 2.238 MB / 0.8073 GB Notification: Performance of SimCode: time 8.42e-07/0.01929, allocations: 0 / 0.834 GB, free: 2.238 MB / 0.8073 GB Notification: Performance of Templates: time 0.005225/0.02451, allocations: 3.579 MB / 0.8375 GB, free: 14.71 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.241490485146642]