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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.013/3.013, allocations: 496.2 MB / 0.7819 GB, free: 12.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,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_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,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_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002813/0.002813, allocations: 63.91 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.313/1.316, allocations: 173.6 MB / 1.305 GB, free: 33.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006428/1.322, allocations: 4.5 MB / 1.31 GB, free: 30.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002582/1.325, allocations: 2.702 MB / 1.312 GB, free: 28.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/1.325, allocations: 0 / 1.312 GB, free: 28.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003449/1.325, allocations: 49.09 kB / 1.313 GB, free: 28.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003108/1.325, allocations: 105.9 kB / 1.313 GB, free: 28.24 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/1.327, allocations: 0.494 MB / 1.313 GB, free: 27.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00027/1.327, allocations: 244.1 kB / 1.313 GB, free: 27.87 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.833e-05/1.327, allocations: 11.45 kB / 1.313 GB, free: 27.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/1.328, allocations: 439 kB / 1.314 GB, free: 27.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/1.328, allocations: 92.92 kB / 1.314 GB, free: 27.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/1.328, allocations: 5.719 kB / 1.314 GB, free: 27.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000973/1.329, allocations: 0.5118 MB / 1.314 GB, free: 27.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/1.329, allocations: 35 kB / 1.314 GB, free: 27.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/1.329, allocations: 86.84 kB / 1.314 GB, free: 27.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005836/1.33, allocations: 350.2 kB / 1.315 GB, free: 27.31 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.33, allocations: 0 / 1.315 GB, free: 27.31 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/1.33, allocations: 4 kB / 1.315 GB, free: 27.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.473e-05/1.33, allocations: 0 / 1.315 GB, free: 27.3 MB / 1.061 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.0008662/1.331, allocations: 0.5048 MB / 1.315 GB, free: 26.84 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.331, allocations: 8.875 kB / 1.315 GB, free: 26.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/1.331, allocations: 23.64 kB / 1.315 GB, free: 26.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/1.332, allocations: 204 kB / 1.316 GB, free: 26.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/1.332, allocations: 13.73 kB / 1.316 GB, free: 26.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/1.332, allocations: 16.28 kB / 1.316 GB, free: 26.61 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/1.332, allocations: 253.7 kB / 1.316 GB, free: 26.46 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/1.332, allocations: 0 / 1.316 GB, free: 26.46 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/1.332, allocations: 15.11 kB / 1.316 GB, free: 26.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/1.332, allocations: 5.188 kB / 1.316 GB, free: 26.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/1.332, allocations: 428.8 kB / 1.316 GB, free: 26.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/1.334, allocations: 1.004 MB / 1.317 GB, free: 25.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/1.334, allocations: 157.1 kB / 1.317 GB, free: 25.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/1.334, allocations: 56.8 kB / 1.317 GB, free: 25.37 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/1.335, allocations: 1.816 MB / 1.319 GB, free: 23.34 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/1.335, allocations: 41.81 kB / 1.319 GB, free: 23.29 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 2.064e-06/1.335, allocations: 4 kB / 1.319 GB, free: 23.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0003883/1.335, allocations: 145.2 kB / 1.319 GB, free: 23.22 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.335, allocations: 57.94 kB / 1.319 GB, free: 23.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/1.336, allocations: 171.7 kB / 1.32 GB, free: 23.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/1.336, allocations: 32.08 kB / 1.32 GB, free: 22.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.649e-05/1.336, allocations: 142.7 kB / 1.32 GB, free: 22.86 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/1.336, allocations: 50.69 kB / 1.32 GB, free: 22.82 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/1.336, allocations: 49.7 kB / 1.32 GB, free: 22.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.16e-05/1.336, allocations: 334.8 kB / 1.32 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/1.336, allocations: 32.84 kB / 1.32 GB, free: 22.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/1.336, allocations: 149.4 kB / 1.32 GB, free: 22.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/1.336, allocations: 197.7 kB / 1.321 GB, free: 22.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.336, allocations: 2.625 kB / 1.321 GB, free: 22.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000317/1.337, allocations: 211.3 kB / 1.321 GB, free: 22.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.337, allocations: 5.719 kB / 1.321 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.337, allocations: 9.25 kB / 1.321 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/1.337, allocations: 5.25 kB / 1.321 GB, free: 22.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/1.337, allocations: 61.89 kB / 1.321 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/1.337, allocations: 5.25 kB / 1.321 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/1.337, allocations: 31.66 kB / 1.321 GB, free: 21.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/1.337, allocations: 18.44 kB / 1.321 GB, free: 21.97 MB / 1.061 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 9.823e-05/1.337, allocations: 139.6 kB / 1.321 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/1.337, allocations: 15.78 kB / 1.321 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/1.337, allocations: 157.2 kB / 1.321 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/1.337, allocations: 10.56 kB / 1.321 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.337, allocations: 0 / 1.321 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/1.337, allocations: 0 / 1.321 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/1.338, allocations: 214.1 kB / 1.321 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.338, allocations: 0 / 1.321 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.155e-05/1.338, allocations: 21.75 kB / 1.321 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.338, allocations: 2.625 kB / 1.321 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/1.338, allocations: 4 kB / 1.321 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.338, allocations: 10.5 kB / 1.321 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/1.338, allocations: 0 / 1.321 GB, free: 21.51 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/1.338, allocations: 227.2 kB / 1.322 GB, free: 21.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/1.338, allocations: 106.6 kB / 1.322 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/1.338, allocations: 0 / 1.322 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/1.338, allocations: 19.23 kB / 1.322 GB, free: 21.23 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/1.338, allocations: 12.52 kB / 1.322 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/1.338, allocations: 15.06 kB / 1.322 GB, free: 21.22 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.281e-05/1.338, allocations: 120.5 kB / 1.322 GB, free: 21.13 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.338, allocations: 4 kB / 1.322 GB, free: 21.13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003991/1.339, allocations: 76.81 kB / 1.322 GB, free: 21.11 MB / 1.061 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.0003439/1.339, allocations: 175.8 kB / 1.322 GB, free: 21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002615/1.339, allocations: 120.1 kB / 1.322 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.339, allocations: 0 / 1.322 GB, free: 20.96 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/1.34, allocations: 44.73 kB / 1.322 GB, free: 20.95 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/1.34, allocations: 57.44 kB / 1.322 GB, free: 20.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/1.341, allocations: 351.2 kB / 1.323 GB, free: 20.71 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/1.341, allocations: 0.7153 MB / 1.323 GB, free: 20.01 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001318/1.341, allocations: 42.55 kB / 1.323 GB, free: 20 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.75e-05/1.341, allocations: 25.31 kB / 1.323 GB, free: 19.98 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.341, allocations: 4 kB / 1.323 GB, free: 19.98 MB / 1.061 GB Notification: Performance of Templates: time 0.007607/1.349, allocations: 3.437 MB / 1.327 GB, free: 19.6 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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: 10.322129500098526]