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.00118/0.00118, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001604/0.002784, allocations: 449.8 kB / 10.44 MB, free: 252 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.001021/0.001021, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002453, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9712/0.9712, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08825/1.059, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.818/1.818, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4878/2.306, allocations: 123.3 MB / 0.7283 GB, free: 5.742 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.383e-06/1.383e-06, allocations: 0 / 0.7296 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.371e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001777/0.00179, allocations: 1.367 MB / 0.731 GB, free: 3.105 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002408/0.004198, allocations: 3.029 MB / 0.7339 GB, free: 104 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.004218, allocations: 0 / 0.7339 GB, free: 104 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.737e-06/0.004227, allocations: 3.938 kB / 0.7339 GB, free: 100 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.046e-05/0.004247, allocations: 8.719 kB / 0.7339 GB, free: 92 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.00455, allocations: 97.41 kB / 0.734 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.004613, allocations: 39.86 kB / 0.7341 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.004646, allocations: 11.97 kB / 0.7341 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003557/0.005002, allocations: 180.5 kB / 0.7342 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.361e-05/0.005036, allocations: 11.98 kB / 0.7342 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.005046, allocations: 1.125 kB / 0.7342 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.005153, allocations: 59.81 kB / 0.7343 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.005167, allocations: 7.938 kB / 0.7343 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.005183, allocations: 8.719 kB / 0.7343 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.005303, allocations: 59.77 kB / 0.7344 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.005313, allocations: 0.5312 kB / 0.7344 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.31e-07/0.005314, allocations: 0.9375 kB / 0.7344 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.005323, allocations: 0 / 0.7344 GB, free: 15.63 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.0002983/0.005622, allocations: 257.5 kB / 0.7346 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.005655, allocations: 12.03 kB / 0.7346 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.867e-05/0.005684, allocations: 2.719 kB / 0.7346 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.339e-05/0.005747, allocations: 113.7 kB / 0.7347 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.005756, allocations: 4.312 kB / 0.7348 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.00578, allocations: 16.33 kB / 0.7348 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.881e-05/0.005869, allocations: 124.6 kB / 0.7349 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.005876, allocations: 4.172 kB / 0.7349 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.005885, allocations: 8.125 kB / 0.7349 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.00589, allocations: 4 kB / 0.7349 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.005916, allocations: 12.92 kB / 0.7349 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.867e-05/0.005995, allocations: 61.05 kB / 0.735 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.629e-05/0.006051, allocations: 51.27 kB / 0.735 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.006065, allocations: 13.09 kB / 0.735 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003232/0.006389, allocations: 213.2 kB / 0.7352 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.00641, allocations: 38.5 kB / 0.7353 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.00641, allocations: 0.5312 kB / 0.7353 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003991/0.006809, allocations: 235.4 kB / 0.7355 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.00683, allocations: 56.38 kB / 0.7356 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.849e-05/0.006878, allocations: 102.7 kB / 0.7356 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.006889, allocations: 30.27 kB / 0.7357 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.006922, allocations: 92.08 kB / 0.7358 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.006936, allocations: 33.45 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.006964, allocations: 29.7 kB / 0.7358 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.286e-05/0.007027, allocations: 314.8 kB / 0.7361 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.007036, allocations: 8 kB / 0.7361 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-05/0.007065, allocations: 45.12 kB / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.007113, allocations: 68.62 kB / 0.7362 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.007114, allocations: 0 / 0.7362 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.054e-05/0.007184, allocations: 85.41 kB / 0.7363 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.007197, allocations: 8.938 kB / 0.7363 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.007201, allocations: 0.75 kB / 0.7363 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.007211, allocations: 0 / 0.7363 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/0.007258, allocations: 20.75 kB / 0.7364 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.007261, allocations: 4 kB / 0.7364 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.007282, allocations: 8.484 kB / 0.7364 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.007287, allocations: 6.531 kB / 0.7364 GB, free: 13.36 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.765e-05/0.007334, allocations: 117.8 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.007351, allocations: 7.938 kB / 0.7365 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.007374, allocations: 8.406 kB / 0.7365 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.007375, allocations: 0 / 0.7365 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.007377, allocations: 0 / 0.7365 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.00738, allocations: 6.422 kB / 0.7365 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.007496, allocations: 81.88 kB / 0.7366 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007497, allocations: 0 / 0.7366 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.007545, allocations: 16 kB / 0.7366 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.007565, allocations: 15.88 kB / 0.7366 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.007566, allocations: 0 / 0.7366 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.007574, allocations: 7.984 kB / 0.7366 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.007574, allocations: 1.719 kB / 0.7366 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.007575, allocations: 0 / 0.7366 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.007676, allocations: 159.4 kB / 0.7368 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.007684, allocations: 3.938 kB / 0.7368 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.007726, allocations: 5.031 kB / 0.7368 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.417e-05/0.00774, allocations: 7.984 kB / 0.7368 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.007743, allocations: 0 / 0.7368 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.052e-05/0.007754, allocations: 13.78 kB / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007754, allocations: 0 / 0.7368 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001211/0.007875, allocations: 13.31 kB / 0.7368 GB, free: 12.87 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 8.139e-05/0.007956, allocations: 91.16 kB / 0.7369 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.293e-05/0.008019, allocations: 40.78 kB / 0.7369 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.008023, allocations: 0 / 0.7369 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.00804, allocations: 20.8 kB / 0.737 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001245/0.008164, allocations: 20.38 kB / 0.737 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008319/0.008996, allocations: 183.6 kB / 0.7372 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.994e-05/0.009026, allocations: 59.22 kB / 0.7372 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.009061, allocations: 11.17 kB / 0.7372 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.009115, allocations: 68.03 kB / 0.7373 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of SimCode: time 4.1e-07/0.009115, allocations: 0 / 0.7373 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.002262/0.01138, allocations: 0.7398 MB / 0.738 GB, free: 11.64 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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.8473603473976254]