Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001281/0.001281, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001548/0.001548, allocations: 165 kB / 23.82 MB, free: 0.75 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.9221/0.9221, allocations: 177.1 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.857/1.857, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.8115 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.484e-05/1.614e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001486/0.001502, allocations: 1.315 MB / 0.8128 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.004012, allocations: 3.012 MB / 0.8157 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.004034, allocations: 0.6562 kB / 0.8157 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.953e-05/0.004054, allocations: 3.938 kB / 0.8157 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.811e-05/0.004092, allocations: 8.609 kB / 0.8157 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.00451, allocations: 100.7 kB / 0.8158 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.365e-05/0.004574, allocations: 49.95 kB / 0.8159 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.779e-05/0.004602, allocations: 0 / 0.8159 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.004977, allocations: 194.7 kB / 0.816 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.066e-05/0.005008, allocations: 8.703 kB / 0.8161 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.005019, allocations: 4 kB / 0.8161 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-05/0.005117, allocations: 48.52 kB / 0.8161 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.005135, allocations: 20.44 kB / 0.8161 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.203e-05/0.005157, allocations: 4 kB / 0.8161 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.005326, allocations: 72.56 kB / 0.8162 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.005328, allocations: 0 / 0.8162 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005329, allocations: 0.9062 kB / 0.8162 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.005332, allocations: 3.938 kB / 0.8162 GB, free: 11.8 MB / 0.7292 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.0005602/0.005892, allocations: 368.8 kB / 0.8166 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.005926, allocations: 13.41 kB / 0.8166 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.005968, allocations: 8.891 kB / 0.8166 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.467e-05/0.006033, allocations: 104.6 kB / 0.8167 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.006045, allocations: 9.641 kB / 0.8167 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.006068, allocations: 8.375 kB / 0.8167 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.006189, allocations: 135.3 kB / 0.8168 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.006195, allocations: 192 / 0.8168 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.006205, allocations: 4.781 kB / 0.8168 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.006213, allocations: 3.984 kB / 0.8168 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.563e-05/0.006249, allocations: 16.7 kB / 0.8168 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.006362, allocations: 122.2 kB / 0.817 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.006429, allocations: 55.11 kB / 0.817 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.006451, allocations: 15.69 kB / 0.817 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000407/0.006858, allocations: 300.5 kB / 0.8173 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.006879, allocations: 38.27 kB / 0.8174 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.00688, allocations: 0 / 0.8174 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003981/0.007278, allocations: 229.6 kB / 0.8176 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.007305, allocations: 55.41 kB / 0.8176 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.307e-05/0.007368, allocations: 161.9 kB / 0.8178 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.007379, allocations: 33.7 kB / 0.8178 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/0.007416, allocations: 130.8 kB / 0.8179 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.007431, allocations: 31.97 kB / 0.818 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.007461, allocations: 35.36 kB / 0.818 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.007553, allocations: 496.1 kB / 0.8185 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.007571, allocations: 16.55 kB / 0.8185 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.099e-05/0.007612, allocations: 67.86 kB / 0.8186 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.409e-05/0.007676, allocations: 86 kB / 0.8186 GB, free: 9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007677, allocations: 1.062 kB / 0.8186 GB, free: 9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.75e-05/0.007764, allocations: 95.03 kB / 0.8187 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.007776, allocations: 9.719 kB / 0.8187 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.00778, allocations: 0 / 0.8187 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.007791, allocations: 4 kB / 0.8187 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.007839, allocations: 24.45 kB / 0.8188 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.007843, allocations: 0.9062 kB / 0.8188 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.007863, allocations: 4 kB / 0.8188 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.007868, allocations: 4.844 kB / 0.8188 GB, free: 8.859 MB / 0.7292 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 5.835e-05/0.007927, allocations: 168.5 kB / 0.8189 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.007942, allocations: 5.344 kB / 0.8189 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.007966, allocations: 12.11 kB / 0.8189 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.007967, allocations: 0 / 0.8189 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.007969, allocations: 0 / 0.8189 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.007972, allocations: 0.875 kB / 0.819 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.0081, allocations: 137.2 kB / 0.8191 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.008101, allocations: 0 / 0.8191 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.008146, allocations: 13.84 kB / 0.8191 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.008148, allocations: 3.984 kB / 0.8191 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.00816, allocations: 7.984 kB / 0.8191 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.008161, allocations: 0 / 0.8191 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008162, allocations: 0 / 0.8191 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.008287, allocations: 220.6 kB / 0.8193 GB, free: 8.234 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.008307, allocations: 11.98 kB / 0.8193 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.008317, allocations: 5.125 kB / 0.8193 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.463e-05/0.008361, allocations: 4 kB / 0.8193 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.008375, allocations: 3.984 kB / 0.8193 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.008379, allocations: 9.062 kB / 0.8193 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.748e-05/0.008407, allocations: 119.2 kB / 0.8195 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008407, allocations: 0 / 0.8195 GB, free: 8.086 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001482/0.008555, allocations: 17.03 kB / 0.8195 GB, free: 8.07 MB / 0.7292 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.074e-05/0.008636, allocations: 104.5 kB / 0.8196 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.639e-05/0.008722, allocations: 48.09 kB / 0.8196 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.008725, allocations: 4 kB / 0.8196 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.872e-05/0.008743, allocations: 24.48 kB / 0.8197 GB, free: 7.879 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.008903, allocations: 17.03 kB / 0.8197 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.009406, allocations: 265.1 kB / 0.8199 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.00944, allocations: 67.2 kB / 0.82 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.009468, allocations: 0 / 0.82 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.00949, allocations: 12.5 kB / 0.82 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.00949, allocations: 4 kB / 0.82 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of Templates: time 0.002563/0.01205, allocations: 0.7034 MB / 0.8207 GB, free: 6.805 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.019971157424152]