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.001413/0.001413, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001552/0.001552, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.492/1.492, allocations: 177.1 MB / 203.9 MB, free: 5.566 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 2.855/2.855, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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 1.753e-06/1.753e-06, allocations: 0 / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.796e-05, allocations: 4.656 kB / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002609/0.002637, allocations: 1.284 MB / 0.812 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.004776/0.007412, allocations: 2.762 MB / 0.8147 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.007434, allocations: 3.938 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.007453, allocations: 0 / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.791e-05/0.007501, allocations: 3.984 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.008088, allocations: 105 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.095e-05/0.008169, allocations: 36.41 kB / 0.8149 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.008203, allocations: 4.562 kB / 0.8149 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.00883, allocations: 195.8 kB / 0.815 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.00888, allocations: 20.64 kB / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.008893, allocations: 0 / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.009058, allocations: 64.28 kB / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.009073, allocations: 5.641 kB / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.009113, allocations: 15.98 kB / 0.8151 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.009294, allocations: 55.81 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.009299, allocations: 4 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.206e-06/0.009302, allocations: 3.984 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.009306, allocations: 0.6562 kB / 0.8152 GB, free: 13.59 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.0004587/0.009765, allocations: 267.4 kB / 0.8155 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.009801, allocations: 8.031 kB / 0.8155 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.009858, allocations: 8.891 kB / 0.8155 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.009973, allocations: 114.8 kB / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.009985, allocations: 384 / 0.8156 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.01002, allocations: 13.2 kB / 0.8156 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.01022, allocations: 131.3 kB / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.01023, allocations: 6.391 kB / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.01025, allocations: 4.125 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.01025, allocations: 0 / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.15e-05/0.01031, allocations: 23.97 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.01047, allocations: 101.3 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.01059, allocations: 62.47 kB / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.01064, allocations: 15.64 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006303/0.01127, allocations: 253.7 kB / 0.8162 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.0113, allocations: 34.56 kB / 0.8162 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.0113, allocations: 0 / 0.8162 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000625/0.01193, allocations: 225.5 kB / 0.8164 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.01197, allocations: 55.41 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/0.01207, allocations: 99.42 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.0121, allocations: 25.7 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.01216, allocations: 92.02 kB / 0.8167 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.01219, allocations: 23.81 kB / 0.8167 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.01223, allocations: 30.23 kB / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.0124, allocations: 315.8 kB / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.01243, allocations: 12.42 kB / 0.817 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.0125, allocations: 53.16 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.01263, allocations: 79.52 kB / 0.8172 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.01264, allocations: 8 kB / 0.8172 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000171/0.01281, allocations: 98.84 kB / 0.8173 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.01283, allocations: 8 kB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01283, allocations: 0 / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.01285, allocations: 5.094 kB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.01294, allocations: 19.98 kB / 0.8173 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.01295, allocations: 0 / 0.8173 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.887e-05/0.01298, allocations: 4.656 kB / 0.8173 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.013, allocations: 8.281 kB / 0.8173 GB, free: 11.17 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.0001095/0.01311, allocations: 134 kB / 0.8174 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.01314, allocations: 4 kB / 0.8174 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.01318, allocations: 12.11 kB / 0.8175 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01318, allocations: 0 / 0.8175 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01318, allocations: 0 / 0.8175 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.01319, allocations: 7.984 kB / 0.8175 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.01343, allocations: 117.2 kB / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01343, allocations: 0 / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.01353, allocations: 16 kB / 0.8176 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01353, allocations: 0 / 0.8176 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.01354, allocations: 0 / 0.8176 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01354, allocations: 1.469 kB / 0.8176 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.01355, allocations: 3.984 kB / 0.8176 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.01378, allocations: 179.4 kB / 0.8178 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.01381, allocations: 15.98 kB / 0.8178 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.01382, allocations: 1 kB / 0.8178 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.01394, allocations: 4 kB / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.01396, allocations: 5.109 kB / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.01397, allocations: 8 kB / 0.8178 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.325e-05/0.01402, allocations: 79.28 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01402, allocations: 1.125 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002518/0.01427, allocations: 8 kB / 0.8179 GB, free: 10.53 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.0001598/0.01443, allocations: 106 kB / 0.818 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.01455, allocations: 43.86 kB / 0.818 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.01456, allocations: 3.984 kB / 0.818 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.01459, allocations: 12 kB / 0.818 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.01493, allocations: 17.3 kB / 0.8181 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005766/0.01551, allocations: 259.2 kB / 0.8183 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.443e-05/0.01558, allocations: 67.34 kB / 0.8184 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.006e-05/0.01563, allocations: 11.98 kB / 0.8184 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.01567, allocations: 12.5 kB / 0.8184 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.01567, allocations: 0 / 0.8184 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of Templates: time 0.003468/0.01914, allocations: 0.6435 MB / 0.819 GB, free: 9.332 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 400] 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: 7.815029182936996]