Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007798/0.0007798, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000911/0.000911, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8796/0.8796, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.77/1.77, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 4 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.59e-05, allocations: 10.16 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001926/0.001952, allocations: 1.278 MB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002526/0.004478, allocations: 2.811 MB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.004502, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.004521, allocations: 0 / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.223e-05/0.004563, allocations: 3.938 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.005005, allocations: 103.4 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.005075, allocations: 47.84 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.005109, allocations: 3.938 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.005473, allocations: 167.5 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.518e-05/0.005509, allocations: 11.98 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.00552, allocations: 0 / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.914e-05/0.005619, allocations: 55.81 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.00563, allocations: 4 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.005655, allocations: 23.91 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.005801, allocations: 59.86 kB / 1.005 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.005803, allocations: 4 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005804, allocations: 0 / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.005808, allocations: 3.938 kB / 1.005 GB, free: 8.445 MB / 0.9636 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.0003425/0.006151, allocations: 270.3 kB / 1.006 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.006187, allocations: 8.75 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.006224, allocations: 8.891 kB / 1.006 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.05e-05/0.006295, allocations: 105.7 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.006306, allocations: 4.375 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.006328, allocations: 4.375 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.00646, allocations: 135.3 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.006468, allocations: 4.188 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.006479, allocations: 8.062 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.006483, allocations: 0 / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.51e-05/0.006528, allocations: 27.91 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.006639, allocations: 101.3 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.484e-05/0.006713, allocations: 50.55 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.006736, allocations: 16.86 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/0.007183, allocations: 246.1 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.007203, allocations: 30.56 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.007204, allocations: 0 / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004488/0.007652, allocations: 237.5 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.007682, allocations: 51.41 kB / 1.007 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.007739, allocations: 101.8 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.007749, allocations: 25.7 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.007783, allocations: 92.03 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.007798, allocations: 31.73 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.007829, allocations: 21.72 kB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.007905, allocations: 322.8 kB / 1.007 GB, free: 6.352 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.953e-05/0.007925, allocations: 8 kB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.007965, allocations: 57.14 kB / 1.007 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.149e-05/0.008036, allocations: 81.19 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008037, allocations: 3.938 kB / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.663e-05/0.008134, allocations: 93.55 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.008147, allocations: 8 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.008152, allocations: 4.062 kB / 1.007 GB, free: 6.059 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.008166, allocations: 8 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.008215, allocations: 16 kB / 1.007 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.008222, allocations: 3.984 kB / 1.007 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.008243, allocations: 4 kB / 1.007 GB, free: 6.027 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.00825, allocations: 4 kB / 1.007 GB, free: 6.023 MB / 0.9636 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.025e-05/0.00831, allocations: 121.7 kB / 1.008 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.008326, allocations: 3.953 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.008347, allocations: 8.125 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.008349, allocations: 4 kB / 1.008 GB, free: 5.883 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.008353, allocations: 4 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.008356, allocations: 0 / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.008492, allocations: 125.3 kB / 1.008 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.008494, allocations: 3.984 kB / 1.008 GB, free: 5.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.00854, allocations: 16 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.008542, allocations: 0 / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.008548, allocations: 4 kB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.00855, allocations: 0 / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00855, allocations: 0 / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.008684, allocations: 171.4 kB / 1.008 GB, free: 5.52 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.008707, allocations: 7.953 kB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.008718, allocations: 8.031 kB / 1.008 GB, free: 5.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.727e-05/0.008776, allocations: 4 kB / 1.008 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.008791, allocations: 4 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.008797, allocations: 12.05 kB / 1.008 GB, free: 5.484 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.008822, allocations: 79.28 kB / 1.008 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008822, allocations: 0 / 1.008 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001599/0.008982, allocations: 12 kB / 1.008 GB, free: 5.395 MB / 0.9636 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.0001024/0.009084, allocations: 103.2 kB / 1.008 GB, free: 5.281 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.125e-05/0.009175, allocations: 43.92 kB / 1.008 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009177, allocations: 3.938 kB / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.505e-05/0.009192, allocations: 15.92 kB / 1.008 GB, free: 5.219 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.009403, allocations: 16.06 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.009787, allocations: 275 kB / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.01009, allocations: 71.28 kB / 1.008 GB, free: 4.816 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.01012, allocations: 12.5 kB / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.01012, allocations: 0 / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of Templates: time 0.001595/0.01171, allocations: 0.8112 MB / 1.009 GB, free: 3.996 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.505163257941604]