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.001899/0.001899, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002177/0.002177, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.605/1.605, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.056/3.056, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] 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 2.424e-06/2.424e-06, allocations: 0 / 0.8108 GB, free: 2.172 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.192e-05/4.434e-05, allocations: 5.375 kB / 0.8108 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.004634/0.004679, allocations: 1.297 MB / 0.812 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.01512, allocations: 2.983 MB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.338e-05/0.0152, allocations: 0 / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.01524, allocations: 8.562 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.01538, allocations: 7.922 kB / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009629/0.01634, allocations: 101.5 kB / 0.8151 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.01648, allocations: 43.83 kB / 0.8151 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.01653, allocations: 1.375 kB / 0.8151 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001/0.01753, allocations: 194.9 kB / 0.8153 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.694e-05/0.0176, allocations: 16.41 kB / 0.8153 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.01762, allocations: 4 kB / 0.8153 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.01786, allocations: 48.73 kB / 0.8153 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.0179, allocations: 15.97 kB / 0.8154 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.01794, allocations: 14.03 kB / 0.8154 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.01825, allocations: 67.78 kB / 0.8154 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.01826, allocations: 0 / 0.8154 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01826, allocations: 0 / 0.8154 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.01826, allocations: 0 / 0.8154 GB, free: 13.39 MB / 0.7761 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.0007731/0.01904, allocations: 368.8 kB / 0.8158 GB, free: 13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.0191, allocations: 14.59 kB / 0.8158 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.01918, allocations: 8.891 kB / 0.8158 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.01935, allocations: 104.6 kB / 0.8159 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.01937, allocations: 4.375 kB / 0.8159 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.01942, allocations: 16.3 kB / 0.8159 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002859/0.01971, allocations: 127.3 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.01972, allocations: 1.906 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.01974, allocations: 8.125 kB / 0.8161 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.01975, allocations: 3.984 kB / 0.8161 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.01986, allocations: 15.98 kB / 0.8161 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.02015, allocations: 124.6 kB / 0.8162 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.02035, allocations: 59.47 kB / 0.8163 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.373e-05/0.02042, allocations: 20.25 kB / 0.8163 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000972/0.02139, allocations: 306.4 kB / 0.8166 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.02144, allocations: 33.39 kB / 0.8166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.674e-06/0.02144, allocations: 0 / 0.8166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0009657/0.0224, allocations: 230.4 kB / 0.8168 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.02248, allocations: 59.34 kB / 0.8169 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.02269, allocations: 169.5 kB / 0.817 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.02274, allocations: 25.7 kB / 0.8171 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.02287, allocations: 130.8 kB / 0.8172 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.02292, allocations: 27.75 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-05/0.02301, allocations: 35.36 kB / 0.8173 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004106/0.02342, allocations: 0.4884 MB / 0.8177 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.02348, allocations: 15.98 kB / 0.8177 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.02364, allocations: 66.11 kB / 0.8178 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.02386, allocations: 92.25 kB / 0.8179 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.02387, allocations: 0 / 0.8179 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003223/0.02419, allocations: 106.5 kB / 0.818 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.02422, allocations: 8 kB / 0.818 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.02423, allocations: 1.125 kB / 0.818 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/0.02426, allocations: 4 kB / 0.818 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.02441, allocations: 23.98 kB / 0.818 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.02441, allocations: 1.031 kB / 0.818 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/0.02449, allocations: 4 kB / 0.818 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.02451, allocations: 9.125 kB / 0.818 GB, free: 10.42 MB / 0.7761 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 0.0001915/0.0247, allocations: 160.5 kB / 0.8182 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.528e-05/0.02476, allocations: 8 kB / 0.8182 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.078e-05/0.02482, allocations: 12.91 kB / 0.8182 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.02482, allocations: 7.922 kB / 0.8182 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.02483, allocations: 1.25 kB / 0.8182 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.02483, allocations: 288 / 0.8182 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.02523, allocations: 136.6 kB / 0.8184 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.02523, allocations: 1.969 kB / 0.8184 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.02539, allocations: 12 kB / 0.8184 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/0.02541, allocations: 7.984 kB / 0.8184 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.02542, allocations: 3.984 kB / 0.8184 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.02543, allocations: 0 / 0.8184 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.02543, allocations: 1.344 kB / 0.8184 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.02581, allocations: 227.8 kB / 0.8186 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.02586, allocations: 15.94 kB / 0.8186 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.02588, allocations: 4 kB / 0.8186 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.02604, allocations: 4.781 kB / 0.8186 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.02607, allocations: 3.984 kB / 0.8186 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.02609, allocations: 6.469 kB / 0.8186 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000113/0.0262, allocations: 123.2 kB / 0.8188 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.4e-07/0.0262, allocations: 0 / 0.8188 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000479/0.02668, allocations: 12 kB / 0.8188 GB, free: 9.621 MB / 0.7761 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.0002157/0.02689, allocations: 101 kB / 0.8189 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.02713, allocations: 55.58 kB / 0.8189 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.02713, allocations: 0 / 0.8189 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.55e-05/0.02721, allocations: 28.22 kB / 0.8189 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.02765, allocations: 18.53 kB / 0.819 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009037/0.02855, allocations: 266.2 kB / 0.8192 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.02867, allocations: 63.34 kB / 0.8193 GB, free: 9.039 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.441e-05/0.02875, allocations: 8 kB / 0.8193 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.02879, allocations: 12.5 kB / 0.8193 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.02879, allocations: 0 / 0.8193 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.005993/0.03479, allocations: 0.6553 MB / 0.8199 GB, free: 8.383 MB / 0.7761 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",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: 8.15857816208154]