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.001108/0.001108, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002557, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001075/0.001075, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002399, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9403/0.9403, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09055/1.031, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.776/1.776, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4955/2.272, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 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.122e-06/1.122e-06, allocations: 0 / 0.7293 GB, free: 4.578 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.747e-06/9.869e-06, allocations: 10.97 kB / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001451/0.001461, allocations: 1.356 MB / 0.7306 GB, free: 3.223 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.003888, allocations: 3.031 MB / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.003903, allocations: 0 / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.035e-06/0.003911, allocations: 4.703 kB / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.803e-05/0.003929, allocations: 3.938 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.004197, allocations: 109.8 kB / 0.7337 GB, free: 104 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.682e-05/0.004254, allocations: 35.86 kB / 0.7337 GB, free: 68 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 2.776e-05/0.004282, allocations: 4 kB / 0.7337 GB, free: 64 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.004623, allocations: 179.8 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.475e-05/0.004658, allocations: 20.84 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.004668, allocations: 0 / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.004778, allocations: 52.72 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.308e-06/0.004787, allocations: 4 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.004803, allocations: 13.72 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.004941, allocations: 59.81 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.355e-05/0.004955, allocations: 0 / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004956, allocations: 0 / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.004967, allocations: 0 / 0.734 GB, free: 15.75 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.0002999/0.005267, allocations: 257.5 kB / 0.7343 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.005299, allocations: 12.03 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.005326, allocations: 5.719 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.401e-05/0.00539, allocations: 121.7 kB / 0.7344 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.005398, allocations: 0.9688 kB / 0.7344 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.00542, allocations: 16.98 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.005524, allocations: 119.3 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.00553, allocations: 1.344 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.00554, allocations: 8.125 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.005544, allocations: 0 / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.768e-05/0.005571, allocations: 17.02 kB / 0.7346 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.996e-05/0.005651, allocations: 69.02 kB / 0.7346 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/0.005706, allocations: 42.5 kB / 0.7347 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.005721, allocations: 17.39 kB / 0.7347 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003156/0.006037, allocations: 214.2 kB / 0.7349 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.006057, allocations: 38.5 kB / 0.7349 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.006058, allocations: 0 / 0.7349 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003839/0.006442, allocations: 235.1 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.006466, allocations: 55.39 kB / 0.7352 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.745e-05/0.006513, allocations: 103.2 kB / 0.7353 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.006522, allocations: 26.45 kB / 0.7353 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.293e-05/0.006555, allocations: 92.09 kB / 0.7354 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.006568, allocations: 29.06 kB / 0.7355 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.006602, allocations: 25.7 kB / 0.7355 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.701e-05/0.006669, allocations: 322.8 kB / 0.7358 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.006678, allocations: 4 kB / 0.7358 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/0.006707, allocations: 53.91 kB / 0.7359 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.236e-05/0.00676, allocations: 68.17 kB / 0.7359 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.00676, allocations: 0 / 0.7359 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.776e-05/0.006828, allocations: 85.47 kB / 0.736 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.649e-06/0.006838, allocations: 4 kB / 0.736 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006842, allocations: 2.438 kB / 0.736 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.00685, allocations: 4 kB / 0.736 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.626e-05/0.006897, allocations: 20 kB / 0.736 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.0069, allocations: 3.938 kB / 0.736 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.912e-05/0.006919, allocations: 7.984 kB / 0.736 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.006923, allocations: 4 kB / 0.736 GB, free: 13.47 MB / 0.7136 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 4.152e-05/0.006965, allocations: 111.5 kB / 0.7361 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.00698, allocations: 11.94 kB / 0.7362 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.007001, allocations: 8.125 kB / 0.7362 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.007005, allocations: 4 kB / 0.7362 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.007008, allocations: 1.031 kB / 0.7362 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.00701, allocations: 0 / 0.7362 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.007122, allocations: 81.88 kB / 0.7362 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.007124, allocations: 4.953 kB / 0.7363 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.007169, allocations: 12 kB / 0.7363 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.007189, allocations: 13.73 kB / 0.7363 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.00719, allocations: 0 / 0.7363 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.007197, allocations: 11.92 kB / 0.7363 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.0072, allocations: 4 kB / 0.7363 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-07/0.0072, allocations: 2.75 kB / 0.7363 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.00731, allocations: 155.8 kB / 0.7364 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.007324, allocations: 3.938 kB / 0.7364 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.007368, allocations: 8 kB / 0.7365 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.007384, allocations: 8.016 kB / 0.7365 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.007389, allocations: 4 kB / 0.7365 GB, free: 13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.944e-06/0.007397, allocations: 4.859 kB / 0.7365 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007397, allocations: 2.25 kB / 0.7365 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000127/0.007524, allocations: 16 kB / 0.7365 GB, free: 12.98 MB / 0.7136 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.137e-05/0.007615, allocations: 84.34 kB / 0.7366 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.007688, allocations: 47.2 kB / 0.7366 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.007694, allocations: 4 kB / 0.7366 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.381e-05/0.007708, allocations: 16.8 kB / 0.7366 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.007843, allocations: 12 kB / 0.7366 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.008724, allocations: 187.7 kB / 0.7368 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.371e-05/0.008757, allocations: 63.2 kB / 0.7369 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.536e-05/0.008793, allocations: 6.812 kB / 0.7369 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.008843, allocations: 64.48 kB / 0.737 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.008844, allocations: 0 / 0.737 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.002/0.01084, allocations: 0.768 MB / 0.7377 GB, free: 11.72 MB / 0.7136 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 -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.ref.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] Not compared, constant in the reference and not in the result: der(cpCod), der(cvCod) Reference file matches [Calling sys.exit(0), Time elapsed: 4.701545352116227]