Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001459/0.001459, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001672/0.001672, allocations: 185 kB / 24.09 MB, free: 416 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.9653/0.9653, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.76/1.76, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.896e-05, allocations: 8.844 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001599/0.001617, allocations: 1.304 MB / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.004811, allocations: 2.99 MB / 0.7917 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.004845, allocations: 0 / 0.7917 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.004862, allocations: 1.375 kB / 0.7917 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.004907, allocations: 7.922 kB / 0.7917 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.005394, allocations: 101.2 kB / 0.7918 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.673e-05/0.00546, allocations: 39.83 kB / 0.7919 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.954e-05/0.00549, allocations: 4 kB / 0.7919 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.005952, allocations: 185 kB / 0.792 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.005992, allocations: 15.97 kB / 0.7921 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.006004, allocations: 0 / 0.7921 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.006129, allocations: 59.77 kB / 0.7921 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.006142, allocations: 12.5 kB / 0.7921 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.006159, allocations: 8.719 kB / 0.7921 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.006302, allocations: 63.8 kB / 0.7922 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006305, allocations: 4.531 kB / 0.7922 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.006306, allocations: 0 / 0.7922 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.006309, allocations: 1.594 kB / 0.7922 GB, free: 7.438 MB / 0.7448 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.0003791/0.006689, allocations: 372.2 kB / 0.7925 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.006725, allocations: 8.031 kB / 0.7926 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.006756, allocations: 13.86 kB / 0.7926 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.906e-05/0.006825, allocations: 108.6 kB / 0.7927 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.006837, allocations: 1.094 kB / 0.7927 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.00686, allocations: 17.02 kB / 0.7927 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.006969, allocations: 119.3 kB / 0.7928 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.006977, allocations: 1.344 kB / 0.7928 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.006987, allocations: 8.125 kB / 0.7928 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.006995, allocations: 7.984 kB / 0.7928 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.939e-05/0.007024, allocations: 16.62 kB / 0.7928 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.007146, allocations: 101.2 kB / 0.7929 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.00721, allocations: 63.72 kB / 0.793 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.007225, allocations: 11.69 kB / 0.793 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/0.007598, allocations: 293.7 kB / 0.7933 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.00762, allocations: 47.23 kB / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.007621, allocations: 0 / 0.7933 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003353/0.007956, allocations: 221.6 kB / 0.7935 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.007982, allocations: 55.41 kB / 0.7936 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/0.008049, allocations: 162.6 kB / 0.7937 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.008059, allocations: 25.7 kB / 0.7938 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.008102, allocations: 137.2 kB / 0.7939 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.008116, allocations: 31.73 kB / 0.7939 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.008147, allocations: 31.36 kB / 0.794 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.008245, allocations: 0.4884 MB / 0.7944 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.008255, allocations: 4 kB / 0.7944 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.774e-05/0.008292, allocations: 66.09 kB / 0.7945 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.584e-05/0.008348, allocations: 83.97 kB / 0.7946 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.008349, allocations: 0 / 0.7946 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.888e-05/0.008438, allocations: 99.72 kB / 0.7947 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.00845, allocations: 4 kB / 0.7947 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008455, allocations: 4 kB / 0.7947 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.008466, allocations: 448 / 0.7947 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.008514, allocations: 16.56 kB / 0.7947 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.008519, allocations: 7.984 kB / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.008539, allocations: 4.781 kB / 0.7947 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.008544, allocations: 8 kB / 0.7947 GB, free: 4.543 MB / 0.7448 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.69e-05/0.008611, allocations: 161.6 kB / 0.7949 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.008e-05/0.008631, allocations: 11.94 kB / 0.7949 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.008658, allocations: 8.781 kB / 0.7949 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.00866, allocations: 4 kB / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.008662, allocations: 0.8438 kB / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008665, allocations: 0 / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.008801, allocations: 112.8 kB / 0.795 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.008802, allocations: 0 / 0.795 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.008846, allocations: 19.98 kB / 0.795 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.008849, allocations: 3.938 kB / 0.795 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.008854, allocations: 0 / 0.795 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008855, allocations: 3.938 kB / 0.795 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008855, allocations: 0 / 0.795 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.009026, allocations: 219.8 kB / 0.7953 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.009049, allocations: 8 kB / 0.7953 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.00906, allocations: 9.312 kB / 0.7953 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.706e-05/0.009107, allocations: 8.312 kB / 0.7953 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.009118, allocations: 0 / 0.7953 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.009123, allocations: 4 kB / 0.7953 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.009163, allocations: 128.2 kB / 0.7954 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.009163, allocations: 0 / 0.7954 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001523/0.009315, allocations: 16 kB / 0.7954 GB, free: 3.789 MB / 0.7448 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.0001074/0.009423, allocations: 105.4 kB / 0.7955 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.139e-05/0.009504, allocations: 43.55 kB / 0.7956 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.009506, allocations: 1.25 kB / 0.7956 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.606e-05/0.009522, allocations: 19.67 kB / 0.7956 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.009681, allocations: 8.375 kB / 0.7956 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.01016, allocations: 286.4 kB / 0.7959 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.01019, allocations: 59.34 kB / 0.7959 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.995e-05/0.01022, allocations: 7.984 kB / 0.7959 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.01028, allocations: 86.12 kB / 0.796 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.01028, allocations: 0 / 0.796 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of Templates: time 0.002159/0.01244, allocations: 0.7215 MB / 0.7967 GB, free: 2.41 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.856447282712907]