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.001369/0.001369, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001533/0.001533, allocations: 169 kB / 24.28 MB, free: 280 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 0.9624/0.9624, allocations: 177.1 MB / 204.6 MB, free: 5.578 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 2.002/2.002, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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.562e-06/1.562e-06, allocations: 0 / 0.8115 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.971e-05, allocations: 9.062 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001499/0.001519, allocations: 1.312 MB / 0.8128 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002643/0.004162, allocations: 3.005 MB / 0.8157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.004195, allocations: 0.5312 kB / 0.8157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.004214, allocations: 3.938 kB / 0.8157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.004261, allocations: 5.938 kB / 0.8157 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004876/0.004749, allocations: 107.4 kB / 0.8158 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.712e-05/0.004816, allocations: 37.94 kB / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.538e-05/0.004851, allocations: 3.938 kB / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.005284, allocations: 190.6 kB / 0.816 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.014e-05/0.005325, allocations: 12.77 kB / 0.816 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.00534, allocations: 4 kB / 0.816 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.005455, allocations: 53.03 kB / 0.8161 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.00547, allocations: 8 kB / 0.8161 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.005498, allocations: 15.91 kB / 0.8161 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.005659, allocations: 64.66 kB / 0.8162 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005661, allocations: 0 / 0.8162 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.005662, allocations: 1.406 kB / 0.8162 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.005665, allocations: 0 / 0.8162 GB, free: 13.32 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.0003459/0.006011, allocations: 372.2 kB / 0.8165 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.006049, allocations: 13.16 kB / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.006094, allocations: 9.234 kB / 0.8166 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.987e-05/0.006164, allocations: 106.6 kB / 0.8167 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.006176, allocations: 8.359 kB / 0.8167 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.006201, allocations: 8.375 kB / 0.8167 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.006329, allocations: 135.2 kB / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.006335, allocations: 192 / 0.8168 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.006347, allocations: 8.125 kB / 0.8168 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.006353, allocations: 2.406 kB / 0.8168 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.006392, allocations: 23.95 kB / 0.8168 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.006514, allocations: 120.6 kB / 0.8169 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.006693, allocations: 55.03 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.006736, allocations: 19.62 kB / 0.817 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005691/0.007305, allocations: 293.6 kB / 0.8173 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.007333, allocations: 41.38 kB / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 2.314e-06/0.007336, allocations: 0 / 0.8173 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005132/0.007849, allocations: 235 kB / 0.8176 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.007881, allocations: 51.41 kB / 0.8176 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.597e-05/0.007967, allocations: 158.9 kB / 0.8178 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.007982, allocations: 37.64 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.00803, allocations: 132.4 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.008047, allocations: 27.78 kB / 0.818 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.008086, allocations: 35.33 kB / 0.818 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.008208, allocations: 496.1 kB / 0.8185 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.008231, allocations: 12.62 kB / 0.8185 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.008282, allocations: 66.11 kB / 0.8185 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/0.008359, allocations: 88.05 kB / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00836, allocations: 0 / 0.8186 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001151/0.008475, allocations: 95.23 kB / 0.8187 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.008491, allocations: 8 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.008496, allocations: 3.219 kB / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.00851, allocations: 288 / 0.8187 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.008575, allocations: 31.92 kB / 0.8187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.008582, allocations: 0 / 0.8187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.008607, allocations: 4 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.008615, allocations: 8 kB / 0.8188 GB, free: 10.37 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 8.203e-05/0.008697, allocations: 160.5 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.008725, allocations: 18.34 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.008763, allocations: 12.12 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.008765, allocations: 0 / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.00877, allocations: 0 / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.008773, allocations: 0 / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.008927, allocations: 136.5 kB / 0.8191 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008929, allocations: 0 / 0.8191 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.915e-05/0.008978, allocations: 12.94 kB / 0.8191 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.008979, allocations: 0 / 0.8191 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.008989, allocations: 4 kB / 0.8191 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.00899, allocations: 1.125 kB / 0.8191 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008991, allocations: 0 / 0.8191 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.009149, allocations: 225.7 kB / 0.8193 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.009177, allocations: 19.94 kB / 0.8193 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.009188, allocations: 0 / 0.8193 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.00924, allocations: 4 kB / 0.8193 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.009254, allocations: 0 / 0.8193 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.009261, allocations: 7.984 kB / 0.8193 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.406e-05/0.009295, allocations: 125.5 kB / 0.8195 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009295, allocations: 0 / 0.8195 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001617/0.009457, allocations: 12 kB / 0.8195 GB, free: 9.582 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.000105/0.009562, allocations: 99.25 kB / 0.8196 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.009664, allocations: 49.88 kB / 0.8196 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.009666, allocations: 0 / 0.8196 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.009686, allocations: 23.62 kB / 0.8196 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.00987, allocations: 11.94 kB / 0.8196 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000636/0.01051, allocations: 274.5 kB / 0.8199 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.866e-05/0.01054, allocations: 63.3 kB / 0.82 GB, free: 9.008 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.785e-05/0.01058, allocations: 7.984 kB / 0.82 GB, free: 9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.01061, allocations: 12.5 kB / 0.82 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of SimCode: time 1.062e-06/0.01061, allocations: 0 / 0.82 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of Templates: time 0.002553/0.01316, allocations: 0.6517 MB / 0.8206 GB, free: 8.352 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","",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.437202355125919]