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.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.0009405/0.0009405, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.0009045/0.0009045, allocations: 177 kB / 23.36 MB, free: 1.137 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.015/1.015, allocations: 177.2 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.378/2.378, allocations: 438.8 MB / 0.6826 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.822e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002643/0.002671, allocations: 1.305 MB / 0.8398 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004057/0.006728, allocations: 3.075 MB / 0.8428 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.006764, allocations: 3.938 kB / 0.8428 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.006791, allocations: 0 / 0.8428 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.15e-05/0.006853, allocations: 11.92 kB / 0.8428 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.007459, allocations: 99.48 kB / 0.8429 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.595e-05/0.007555, allocations: 43.83 kB / 0.843 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.007596, allocations: 0 / 0.843 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.008098, allocations: 159.6 kB / 0.8431 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.008148, allocations: 23.91 kB / 0.8431 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.00816, allocations: 0 / 0.8431 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.008301, allocations: 55.83 kB / 0.8432 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.008317, allocations: 11.97 kB / 0.8432 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.00834, allocations: 12 kB / 0.8432 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.008505, allocations: 63.73 kB / 0.8433 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.008509, allocations: 0 / 0.8433 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.252e-06/0.00851, allocations: 0 / 0.8433 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.008514, allocations: 0 / 0.8433 GB, free: 9.375 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003717/0.008886, allocations: 252.5 kB / 0.8435 GB, free: 9.105 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.008929, allocations: 8.625 kB / 0.8435 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.008972, allocations: 8.922 kB / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/0.009062, allocations: 105.8 kB / 0.8436 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.009076, allocations: 4.375 kB / 0.8436 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.009108, allocations: 8.375 kB / 0.8436 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.009256, allocations: 135.3 kB / 0.8438 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.009265, allocations: 192 / 0.8438 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.009274, allocations: 4.125 kB / 0.8438 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.009281, allocations: 0 / 0.8438 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.424e-05/0.009315, allocations: 11.98 kB / 0.8438 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.009438, allocations: 76.97 kB / 0.8439 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.574e-05/0.009514, allocations: 38.56 kB / 0.8439 GB, free: 8.641 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.009533, allocations: 8.859 kB / 0.8439 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/0.01002, allocations: 228.3 kB / 0.8441 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.01005, allocations: 38.5 kB / 0.8442 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.01005, allocations: 0 / 0.8442 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0006202/0.01067, allocations: 229.2 kB / 0.8444 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.01071, allocations: 51.41 kB / 0.8444 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.0108, allocations: 102.7 kB / 0.8445 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.01081, allocations: 37.7 kB / 0.8446 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.01087, allocations: 88.03 kB / 0.8446 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.0109, allocations: 35.72 kB / 0.8447 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.01096, allocations: 25.7 kB / 0.8447 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.01106, allocations: 314.8 kB / 0.845 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.01107, allocations: 8 kB / 0.845 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.01111, allocations: 49.12 kB / 0.8451 GB, free: 7.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.27e-05/0.01117, allocations: 61.27 kB / 0.8451 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.01118, allocations: 0 / 0.8451 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.996e-05/0.01127, allocations: 85.45 kB / 0.8452 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01128, allocations: 4 kB / 0.8452 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01129, allocations: 4 kB / 0.8452 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.0113, allocations: 0 / 0.8452 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.01136, allocations: 23.94 kB / 0.8452 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.01137, allocations: 3.984 kB / 0.8452 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.01139, allocations: 8 kB / 0.8452 GB, free: 7.109 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.0114, allocations: 4.125 kB / 0.8452 GB, free: 7.105 MB / 0.8073 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 6.333e-05/0.01146, allocations: 125.7 kB / 0.8454 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.01148, allocations: 7.938 kB / 0.8454 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.0115, allocations: 8.125 kB / 0.8454 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.0115, allocations: 4 kB / 0.8454 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.01151, allocations: 0 / 0.8454 GB, free: 6.957 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01151, allocations: 3.984 kB / 0.8454 GB, free: 6.953 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.01165, allocations: 81.88 kB / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01165, allocations: 0 / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.01169, allocations: 12 kB / 0.8455 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.0117, allocations: 4 kB / 0.8455 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.0117, allocations: 8.375 kB / 0.8455 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.01171, allocations: 0 / 0.8455 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01171, allocations: 4 kB / 0.8455 GB, free: 6.828 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.01199, allocations: 163.4 kB / 0.8456 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.204e-05/0.01201, allocations: 7.953 kB / 0.8457 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.01202, allocations: 7.938 kB / 0.8457 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.435e-05/0.01206, allocations: 0 / 0.8457 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.01208, allocations: 7.984 kB / 0.8457 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.01208, allocations: 0 / 0.8457 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.103e-05/0.01209, allocations: 12.86 kB / 0.8457 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01209, allocations: 0 / 0.8457 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001301/0.01222, allocations: 12 kB / 0.8457 GB, free: 6.602 MB / 0.8073 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.0001139/0.01234, allocations: 84.41 kB / 0.8458 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.726e-05/0.0124, allocations: 40.77 kB / 0.8458 GB, free: 6.465 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.01241, allocations: 4 kB / 0.8458 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.01242, allocations: 16.8 kB / 0.8458 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.01255, allocations: 12.25 kB / 0.8458 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.013, allocations: 228.5 kB / 0.8461 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.01304, allocations: 59.36 kB / 0.8461 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.01307, allocations: 7.984 kB / 0.8461 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.01312, allocations: 67.38 kB / 0.8462 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.01312, allocations: 0 / 0.8462 GB, free: 6.027 MB / 0.8073 GB Notification: Performance of Templates: time 0.002319/0.01544, allocations: 0.728 MB / 0.8469 GB, free: 5.316 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.33364466810599]