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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 105.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.557/2.557, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.31 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3069, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006471/0.3135, allocations: 4.428 MB / 1.069 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.3164, allocations: 2.675 MB / 1.071 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.3165, allocations: 0 / 1.071 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.3168, allocations: 51.66 kB / 1.071 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.3172, allocations: 99.36 kB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.3186, allocations: 497.2 kB / 1.072 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003046/0.3189, allocations: 239.9 kB / 1.072 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.964e-05/0.3189, allocations: 13.56 kB / 1.072 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000966/0.3199, allocations: 410.9 kB / 1.072 GB, free: 6.613 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.3201, allocations: 95.58 kB / 1.072 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.3201, allocations: 8 kB / 1.072 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.3212, allocations: 491.1 kB / 1.073 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/0.3213, allocations: 35.91 kB / 1.073 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.841e-05/0.3214, allocations: 79.66 kB / 1.073 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.3221, allocations: 359.3 kB / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3221, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3221, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.3221, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8419 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.0007677/0.3229, allocations: 0.4914 MB / 1.074 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.323, allocations: 12.62 kB / 1.074 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.3231, allocations: 28.73 kB / 1.074 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.3234, allocations: 204.1 kB / 1.074 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3234, allocations: 16.7 kB / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.3234, allocations: 12.38 kB / 1.074 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.3238, allocations: 257 kB / 1.074 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3238, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.3238, allocations: 8 kB / 1.074 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.3239, allocations: 8 kB / 1.074 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004566/0.3243, allocations: 431.5 kB / 1.075 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.3254, allocations: 1.011 MB / 1.076 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.3257, allocations: 155.1 kB / 1.076 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.964e-05/0.3258, allocations: 60.88 kB / 1.076 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.3271, allocations: 1.833 MB / 1.078 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3271, allocations: 34.56 kB / 1.078 GB, free: 460 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.3271, allocations: 0 / 1.078 GB, free: 460 kB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003333/0.3274, allocations: 151.2 kB / 1.078 GB, free: 304 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.3275, allocations: 55.34 kB / 1.078 GB, free: 236 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3276, allocations: 171.3 kB / 1.078 GB, free: 48 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3277, allocations: 25.7 kB / 1.078 GB, free: 16 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.5493/0.877, allocations: 145.6 kB / 1.078 GB, free: 23.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.8771, allocations: 53.97 kB / 1.078 GB, free: 23.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.8772, allocations: 52.72 kB / 1.078 GB, free: 23.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.8773, allocations: 325.3 kB / 1.079 GB, free: 22.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.8774, allocations: 32.14 kB / 1.079 GB, free: 22.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.8776, allocations: 145.2 kB / 1.079 GB, free: 22.78 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.8778, allocations: 200.8 kB / 1.079 GB, free: 22.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.8778, allocations: 0.8438 kB / 1.079 GB, free: 22.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003878/0.8782, allocations: 217 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.8782, allocations: 7 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.8783, allocations: 7.812 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.8783, allocations: 5.125 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.8785, allocations: 58.73 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.8786, allocations: 9.141 kB / 1.079 GB, free: 22.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.8787, allocations: 30.02 kB / 1.079 GB, free: 22.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.8787, allocations: 13.44 kB / 1.079 GB, free: 22.58 MB / 0.8419 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.0001107/0.8789, allocations: 135.5 kB / 1.08 GB, free: 22.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.8789, allocations: 17.25 kB / 1.08 GB, free: 22.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.8793, allocations: 146.7 kB / 1.08 GB, free: 22.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.8793, allocations: 6.281 kB / 1.08 GB, free: 22.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8793, allocations: 3.469 kB / 1.08 GB, free: 22.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.8793, allocations: 1.75 kB / 1.08 GB, free: 22.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.8795, allocations: 218.1 kB / 1.08 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8796, allocations: 1.344 kB / 1.08 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.655e-05/0.8797, allocations: 26.45 kB / 1.08 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.8797, allocations: 1.406 kB / 1.08 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.8797, allocations: 6.141 kB / 1.08 GB, free: 22.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.8797, allocations: 4.469 kB / 1.08 GB, free: 22.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8797, allocations: 2.781 kB / 1.08 GB, free: 22.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.8799, allocations: 216.5 kB / 1.08 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.88, allocations: 105 kB / 1.08 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.8801, allocations: 12.16 kB / 1.08 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.8803, allocations: 26.62 kB / 1.08 GB, free: 21.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.8803, allocations: 12 kB / 1.08 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.8804, allocations: 10.89 kB / 1.08 GB, free: 21.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.016e-05/0.8805, allocations: 120 kB / 1.08 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8805, allocations: 0.875 kB / 1.08 GB, free: 21.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004227/0.8809, allocations: 73.23 kB / 1.081 GB, free: 21.88 MB / 0.8419 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.0003617/0.8813, allocations: 185 kB / 1.081 GB, free: 21.78 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002685/0.8815, allocations: 126.6 kB / 1.081 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8815, allocations: 3.938 kB / 1.081 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.176e-05/0.8816, allocations: 43.36 kB / 1.081 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.8821, allocations: 43.34 kB / 1.081 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008784/0.883, allocations: 378.3 kB / 1.081 GB, free: 21.56 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.8833, allocations: 0.7101 MB / 1.082 GB, free: 20.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.8833, allocations: 30.34 kB / 1.082 GB, free: 20.86 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.8833, allocations: 0 / 1.082 GB, free: 20.86 MB / 0.8419 GB Notification: Performance of Templates: time 0.007229/0.8906, allocations: 3.155 MB / 1.085 GB, free: 20.51 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches