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.0009308/0.0009308, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001035/0.001035, allocations: 165 kB / 23.02 MB, free: 1.547 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 0.9832/0.9832, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.175/2.175, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.563e-06/1.563e-06, allocations: 0 / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.191e-05, allocations: 3.188 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002634/0.002666, allocations: 1.316 MB / 0.8794 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004296/0.006963, allocations: 3.061 MB / 0.8824 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.007013, allocations: 0 / 0.8824 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.007053, allocations: 3.938 kB / 0.8824 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.811e-05/0.007141, allocations: 7.938 kB / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.007894, allocations: 107.5 kB / 0.8825 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.516e-05/0.00799, allocations: 39.84 kB / 0.8825 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.008032, allocations: 4 kB / 0.8826 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/0.008605, allocations: 163.5 kB / 0.8827 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.859e-05/0.008654, allocations: 11.97 kB / 0.8827 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.008671, allocations: 4 kB / 0.8827 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001448/0.008816, allocations: 51.83 kB / 0.8828 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.008835, allocations: 11.98 kB / 0.8828 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.008868, allocations: 15.92 kB / 0.8828 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.009056, allocations: 67.8 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.00906, allocations: 0 / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.503e-06/0.009061, allocations: 0 / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.009067, allocations: 0 / 0.8829 GB, free: 1.508 MB / 0.8386 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.0004672/0.009535, allocations: 376.5 kB / 0.8832 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.009583, allocations: 12.03 kB / 0.8832 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.009638, allocations: 4.938 kB / 0.8832 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.582e-05/0.009724, allocations: 104.6 kB / 0.8833 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.009741, allocations: 8.375 kB / 0.8833 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.009779, allocations: 12.27 kB / 0.8834 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.009955, allocations: 131.3 kB / 0.8835 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.009964, allocations: 192 / 0.8835 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.00998, allocations: 12.06 kB / 0.8835 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.009991, allocations: 3.984 kB / 0.8835 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.349e-05/0.01004, allocations: 11.98 kB / 0.8835 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.01021, allocations: 116.6 kB / 0.8836 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.01031, allocations: 63.02 kB / 0.8837 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.932e-05/0.01034, allocations: 11.69 kB / 0.8837 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/0.01095, allocations: 300.7 kB / 0.884 GB, free: 212 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.01098, allocations: 37.39 kB / 0.884 GB, free: 164 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.01098, allocations: 4 kB / 0.884 GB, free: 160 kB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000716/0.0117, allocations: 230.3 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.01173, allocations: 51.41 kB / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.01183, allocations: 161.9 kB / 0.8844 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.01185, allocations: 25.7 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.01191, allocations: 138.8 kB / 0.8846 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.01193, allocations: 23.81 kB / 0.8846 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.01198, allocations: 35.36 kB / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01213, allocations: 492.1 kB / 0.8851 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.01216, allocations: 19.98 kB / 0.8851 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.01222, allocations: 70 kB / 0.8852 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.855e-05/0.01232, allocations: 85.98 kB / 0.8853 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01232, allocations: 3.938 kB / 0.8853 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001487/0.01247, allocations: 93.5 kB / 0.8854 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01249, allocations: 8.125 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.01249, allocations: 4 kB / 0.8854 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.01252, allocations: 4 kB / 0.8854 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.0126, allocations: 23.92 kB / 0.8854 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.01261, allocations: 0 / 0.8854 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.01264, allocations: 4 kB / 0.8854 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.01265, allocations: 8 kB / 0.8854 GB, free: 14.55 MB / 0.8542 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 8.807e-05/0.01274, allocations: 168.5 kB / 0.8856 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.01277, allocations: 4 kB / 0.8856 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.54e-05/0.01281, allocations: 8.125 kB / 0.8856 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01281, allocations: 4 kB / 0.8856 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01281, allocations: 0 / 0.8856 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01282, allocations: 7.922 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.01304, allocations: 136.5 kB / 0.8857 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01304, allocations: 0 / 0.8857 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.149e-05/0.01312, allocations: 12 kB / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.01312, allocations: 4.281 kB / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.01313, allocations: 0 / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01313, allocations: 0 / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.01313, allocations: 3.984 kB / 0.8858 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.01335, allocations: 219.9 kB / 0.886 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.01338, allocations: 15.98 kB / 0.886 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.01339, allocations: 0 / 0.886 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.01348, allocations: 7.938 kB / 0.886 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.0135, allocations: 3.984 kB / 0.886 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.01351, allocations: 8 kB / 0.886 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.01355, allocations: 119.2 kB / 0.8861 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01355, allocations: 0 / 0.8861 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002846/0.01384, allocations: 12 kB / 0.8861 GB, free: 13.76 MB / 0.8542 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.0001499/0.01399, allocations: 107.3 kB / 0.8862 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.01412, allocations: 51.66 kB / 0.8863 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01412, allocations: 0 / 0.8863 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.01415, allocations: 27.61 kB / 0.8863 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.01446, allocations: 18.27 kB / 0.8863 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007981/0.01526, allocations: 274.4 kB / 0.8866 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.01531, allocations: 56.02 kB / 0.8866 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.989e-05/0.01536, allocations: 11.98 kB / 0.8867 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.198e-05/0.01539, allocations: 12.5 kB / 0.8867 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/0.01539, allocations: 0 / 0.8867 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.003323/0.01871, allocations: 0.6427 MB / 0.8873 GB, free: 12.53 MB / 0.8542 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.6803953177295625]