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.001288/0.001288, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001483/0.001483, allocations: 161 kB / 24.17 MB, free: 332 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.063/1.063, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.964/1.964, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.453e-06/1.453e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.189e-05, allocations: 6.047 kB / 0.76 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001884/0.001906, allocations: 1.327 MB / 0.7613 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002861/0.004767, allocations: 3.015 MB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.004794, allocations: 2.188 kB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.004811, allocations: 0 / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.004856, allocations: 7.938 kB / 0.7642 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.005277, allocations: 105.1 kB / 0.7643 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.005339, allocations: 43.78 kB / 0.7644 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.005371, allocations: 4 kB / 0.7644 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.005766, allocations: 192.4 kB / 0.7645 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.283e-05/0.005799, allocations: 11.98 kB / 0.7646 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.005809, allocations: 0 / 0.7646 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.005906, allocations: 66.5 kB / 0.7646 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.005918, allocations: 3.984 kB / 0.7646 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.005938, allocations: 15.98 kB / 0.7646 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.006065, allocations: 63.75 kB / 0.7647 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.006069, allocations: 0 / 0.7647 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.61e-07/0.006069, allocations: 0 / 0.7647 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.006073, allocations: 0 / 0.7647 GB, free: 1.879 MB / 0.7136 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.0002687/0.006342, allocations: 249.6 kB / 0.7649 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.006372, allocations: 8.031 kB / 0.7649 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.0064, allocations: 5.875 kB / 0.765 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.164e-05/0.006471, allocations: 113.7 kB / 0.7651 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.006482, allocations: 5.312 kB / 0.7651 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.006506, allocations: 8.672 kB / 0.7651 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.006609, allocations: 127.3 kB / 0.7652 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.006615, allocations: 4.688 kB / 0.7652 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.006623, allocations: 7.562 kB / 0.7652 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.006627, allocations: 0 / 0.7652 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.006653, allocations: 11.98 kB / 0.7652 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.714e-05/0.00674, allocations: 72.97 kB / 0.7653 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.647e-05/0.006797, allocations: 42.5 kB / 0.7653 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.006812, allocations: 13.09 kB / 0.7653 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/0.00717, allocations: 212.3 kB / 0.7655 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.007192, allocations: 38.5 kB / 0.7656 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.007193, allocations: 2.844 kB / 0.7656 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004134/0.007607, allocations: 229.5 kB / 0.7658 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.007632, allocations: 59.39 kB / 0.7659 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.939e-05/0.007681, allocations: 100.3 kB / 0.766 GB, free: 436 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.00769, allocations: 29.7 kB / 0.766 GB, free: 400 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.007723, allocations: 92.02 kB / 0.7661 GB, free: 304 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.007737, allocations: 31.73 kB / 0.7661 GB, free: 272 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.007767, allocations: 25.7 kB / 0.7661 GB, free: 240 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.007848, allocations: 317.5 kB / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.007862, allocations: 12 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.007894, allocations: 49.12 kB / 0.7665 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.422e-05/0.007948, allocations: 72.95 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.00795, allocations: 0 / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.34e-05/0.008023, allocations: 81.41 kB / 0.7666 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.008035, allocations: 4 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.00804, allocations: 4 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.00805, allocations: 0 / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.008102, allocations: 24 kB / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.008105, allocations: 0 / 0.7667 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.008125, allocations: 11.3 kB / 0.7667 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.008129, allocations: 80 / 0.7667 GB, free: 15.63 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.182e-05/0.008181, allocations: 117.8 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.008197, allocations: 7.938 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.008222, allocations: 8.125 kB / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008224, allocations: 4 kB / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.008225, allocations: 0 / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.008228, allocations: 0 / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.008361, allocations: 85.88 kB / 0.7669 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008362, allocations: 1.5 kB / 0.7669 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.008406, allocations: 12 kB / 0.7669 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.008408, allocations: 0 / 0.7669 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.008415, allocations: 3.938 kB / 0.7669 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.008418, allocations: 5.328 kB / 0.7669 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008419, allocations: 4 kB / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.008535, allocations: 171.3 kB / 0.7671 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.008554, allocations: 4.625 kB / 0.7671 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-06/0.008564, allocations: 3.938 kB / 0.7671 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.008606, allocations: 0.8438 kB / 0.7671 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.008618, allocations: 7.984 kB / 0.7671 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.008623, allocations: 5.156 kB / 0.7671 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.047e-05/0.008634, allocations: 12.84 kB / 0.7671 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.008634, allocations: 0 / 0.7671 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001288/0.008763, allocations: 9 kB / 0.7671 GB, free: 15.12 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 9.867e-05/0.008861, allocations: 89 kB / 0.7672 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.008927, allocations: 39.09 kB / 0.7672 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.008931, allocations: 3.938 kB / 0.7672 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.008945, allocations: 12.86 kB / 0.7673 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.009069, allocations: 13.72 kB / 0.7673 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004638/0.009533, allocations: 227.9 kB / 0.7675 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.459e-05/0.009568, allocations: 68.23 kB / 0.7676 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.0096, allocations: 9.703 kB / 0.7676 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.009652, allocations: 60.06 kB / 0.7676 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.009653, allocations: 0 / 0.7676 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of Templates: time 0.00223/0.01188, allocations: 0.7172 MB / 0.7683 GB, free: 13.9 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.100692023057491]