Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001158/0.001158, allocations: 191.3 kB / 16.14 MB, free: 6.711 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.838/2.838, allocations: 461.9 MB / 0.7342 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 64.94 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3954, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002793/0.3983, allocations: 1.333 MB / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003923/0.4023, allocations: 2.93 MB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.4023, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.4024, allocations: 3.984 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.771e-05/0.4025, allocations: 11.94 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.403, allocations: 83.67 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.4031, allocations: 43.8 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.4031, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005511/0.4037, allocations: 139.6 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.4038, allocations: 23.91 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.4038, allocations: 4 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.404, allocations: 67.81 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.404, allocations: 8 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.404, allocations: 19.91 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.4042, allocations: 60.09 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4042, allocations: 0 / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4042, allocations: 0 / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4043, allocations: 0 / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004623/0.4047, allocations: 347.5 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4048, allocations: 16.03 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.4048, allocations: 0.9375 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.405, allocations: 172.2 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.405, allocations: 4.375 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.405, allocations: 8.375 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.4052, allocations: 53.8 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4052, allocations: 0 / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.4052, allocations: 4 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4052, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.263e-05/0.4053, allocations: 19.97 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.4055, allocations: 165.7 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.4056, allocations: 50.5 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.4056, allocations: 20.84 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007965/0.4065, allocations: 0.5947 MB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.4065, allocations: 38.56 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.4065, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006445/0.4071, allocations: 306.2 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.4072, allocations: 51.41 kB / 1.058 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.4073, allocations: 93.86 kB / 1.059 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.4073, allocations: 29.7 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.4074, allocations: 88.05 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4074, allocations: 31.55 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.4075, allocations: 25.72 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4076, allocations: 322.8 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.733e-05/0.4077, allocations: 12 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.4077, allocations: 53.14 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.973e-05/0.4078, allocations: 73.08 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4078, allocations: 0 / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001356/0.408, allocations: 93.72 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.408, allocations: 12.12 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.408, allocations: 7.875 kB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.408, allocations: 4 kB / 1.059 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.4081, allocations: 19.98 kB / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4081, allocations: 80 / 1.059 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.4082, allocations: 12.38 kB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4082, allocations: 7.984 kB / 1.059 GB, free: 0.957 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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.061e-05/0.4083, allocations: 119.3 kB / 1.059 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.4083, allocations: 3.906 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.4084, allocations: 15.91 kB / 1.059 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.4084, allocations: 8 kB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4084, allocations: 0 / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4084, allocations: 3.938 kB / 1.059 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.4086, allocations: 173.7 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4087, allocations: 0 / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.518e-05/0.4087, allocations: 19.98 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4088, allocations: 0 / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4088, allocations: 4 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4088, allocations: 0 / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4088, allocations: 0 / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.409, allocations: 175.4 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.174e-05/0.4091, allocations: 85.02 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.4091, allocations: 0 / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.4092, allocations: 8.031 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.4092, allocations: 4 kB / 1.06 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4093, allocations: 7.938 kB / 1.06 GB, free: 256 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.242e-05/0.4093, allocations: 79.27 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4093, allocations: 8 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002325/0.4096, allocations: 12 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0001507/0.4097, allocations: 99.25 kB / 1.06 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.4098, allocations: 43.91 kB / 1.06 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.369e-05/0.4099, allocations: 4.047 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.4099, allocations: 11.94 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.4102, allocations: 16.19 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.4109, allocations: 336.2 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.4112, allocations: 0.6809 MB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.4113, allocations: 8 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.4113, allocations: 11.44 kB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of SimCode: time 3.91e-07/0.4113, allocations: 0 / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.003181/0.4145, allocations: 0.6022 MB / 1.062 GB, free: 14.29 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches