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.001636/0.001636, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.006078/0.006078, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.04/1.04, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.14/2.14, allocations: 429.5 MB / 0.6743 GB, free: 3.883 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.833e-06/1.833e-06, allocations: 0 / 0.8793 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.072e-05, allocations: 6.25 kB / 0.8793 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00179/0.001811, allocations: 1.316 MB / 0.8806 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002859/0.00467, allocations: 3.038 MB / 0.8836 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.42e-05/0.004684, allocations: 0 / 0.8836 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.888e-06/0.004694, allocations: 3.938 kB / 0.8836 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.101e-05/0.004715, allocations: 8.703 kB / 0.8836 GB, free: 1.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.004963, allocations: 105.1 kB / 0.8837 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.525e-05/0.005008, allocations: 43.83 kB / 0.8838 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.005042, allocations: 0 / 0.8838 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.005334, allocations: 158.8 kB / 0.8839 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.297e-05/0.005367, allocations: 11.97 kB / 0.8839 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.005379, allocations: 7.938 kB / 0.8839 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.904e-05/0.005469, allocations: 51.83 kB / 0.884 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.005485, allocations: 15.97 kB / 0.884 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.756e-05/0.005503, allocations: 8 kB / 0.884 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.005632, allocations: 67.73 kB / 0.8841 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005634, allocations: 4 kB / 0.8841 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.005635, allocations: 0 / 0.8841 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.005639, allocations: 0 / 0.8841 GB, free: 1.25 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.0003015/0.005941, allocations: 380.5 kB / 0.8844 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.005976, allocations: 8.031 kB / 0.8844 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.006005, allocations: 4.938 kB / 0.8844 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.598e-05/0.006071, allocations: 104.6 kB / 0.8845 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.006081, allocations: 4.375 kB / 0.8845 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.006105, allocations: 16.31 kB / 0.8846 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.006211, allocations: 123.3 kB / 0.8847 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.006219, allocations: 8.188 kB / 0.8847 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.006228, allocations: 4.125 kB / 0.8847 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.006232, allocations: 0 / 0.8847 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.81e-05/0.00626, allocations: 19.91 kB / 0.8847 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.006369, allocations: 105.3 kB / 0.8848 GB, free: 388 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.549e-05/0.006435, allocations: 55.09 kB / 0.8849 GB, free: 320 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.006453, allocations: 15.69 kB / 0.8849 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003994/0.006852, allocations: 292.7 kB / 0.8852 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.006873, allocations: 45.31 kB / 0.8852 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.006874, allocations: 0 / 0.8852 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0003599/0.007234, allocations: 225.7 kB / 0.8854 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.00726, allocations: 51.41 kB / 0.8855 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.804e-05/0.007328, allocations: 157.9 kB / 0.8856 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.00734, allocations: 25.7 kB / 0.8856 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.007387, allocations: 142.8 kB / 0.8858 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.007402, allocations: 23.8 kB / 0.8858 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.007434, allocations: 31.36 kB / 0.8858 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.007558, allocations: 0.4884 MB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.007569, allocations: 4 kB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.007612, allocations: 74.03 kB / 0.8864 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.555e-05/0.007677, allocations: 86.2 kB / 0.8865 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007679, allocations: 4 kB / 0.8865 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.868e-05/0.007768, allocations: 85.48 kB / 0.8865 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.007781, allocations: 8 kB / 0.8866 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007786, allocations: 128 / 0.8866 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.007798, allocations: 8 kB / 0.8866 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.698e-05/0.007845, allocations: 19.94 kB / 0.8866 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.007848, allocations: 3.984 kB / 0.8866 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.007869, allocations: 4 kB / 0.8866 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.007875, allocations: 8 kB / 0.8866 GB, free: 14.34 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 6.955e-05/0.007945, allocations: 156.5 kB / 0.8867 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.007966, allocations: 15.89 kB / 0.8868 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.007992, allocations: 12.12 kB / 0.8868 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.007993, allocations: 0 / 0.8868 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.007995, allocations: 3.938 kB / 0.8868 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.007998, allocations: 4 kB / 0.8868 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.008139, allocations: 113.2 kB / 0.8869 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008141, allocations: 448 / 0.8869 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.008189, allocations: 19.92 kB / 0.8869 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008191, allocations: 3.938 kB / 0.8869 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.008197, allocations: 4 kB / 0.8869 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.008199, allocations: 4 kB / 0.8869 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.008199, allocations: 0 / 0.8869 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.008335, allocations: 216 kB / 0.8871 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.008355, allocations: 7.953 kB / 0.8871 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-06/0.008365, allocations: 11.94 kB / 0.8871 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.472e-05/0.008409, allocations: 3.984 kB / 0.8871 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.008423, allocations: 0 / 0.8871 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.008427, allocations: 4 kB / 0.8872 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.008458, allocations: 127.1 kB / 0.8873 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008459, allocations: 4 kB / 0.8873 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002596/0.008718, allocations: 12 kB / 0.8873 GB, free: 13.57 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 8.664e-05/0.008805, allocations: 103.3 kB / 0.8874 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.75e-05/0.008882, allocations: 43.89 kB / 0.8874 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.008883, allocations: 0 / 0.8874 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.008901, allocations: 19.67 kB / 0.8874 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.009059, allocations: 11.94 kB / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/0.009562, allocations: 286.2 kB / 0.8877 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.009597, allocations: 59.34 kB / 0.8878 GB, free: 13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.009629, allocations: 11.98 kB / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.009695, allocations: 82.19 kB / 0.8879 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of SimCode: time 4.91e-07/0.009695, allocations: 0 / 0.8879 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.002187/0.01188, allocations: 0.7298 MB / 0.8886 GB, free: 12.19 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.663180235773325]