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.001292/0.001292, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001418/0.001418, allocations: 216.8 kB / 22.99 MB, free: 4.945 MB / 14.72 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.283/3.283, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 71.02 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3663, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002894/0.3692, allocations: 1.285 MB / 1.366 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004206/0.3734, allocations: 2.769 MB / 1.369 GB, free: 9.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.3735, allocations: 0 / 1.369 GB, free: 9.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.3735, allocations: 0 / 1.369 GB, free: 9.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.66e-05/0.3735, allocations: 15.86 kB / 1.369 GB, free: 9.504 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.3741, allocations: 99.55 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.094e-05/0.3742, allocations: 39.86 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.3742, allocations: 0 / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005501/0.3748, allocations: 191.2 kB / 1.369 GB, free: 9.18 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.3748, allocations: 23.91 kB / 1.369 GB, free: 9.156 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3748, allocations: 0 / 1.369 GB, free: 9.156 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.375, allocations: 51.89 kB / 1.369 GB, free: 9.105 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.375, allocations: 4 kB / 1.369 GB, free: 9.102 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.375, allocations: 15.94 kB / 1.369 GB, free: 9.086 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.3752, allocations: 63.84 kB / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3752, allocations: 0 / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3752, allocations: 0 / 1.369 GB, free: 9.023 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3752, allocations: 3.938 kB / 1.369 GB, free: 9.02 MB / 1.061 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.000459/0.3756, allocations: 270.3 kB / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3757, allocations: 8.031 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.3757, allocations: 8.891 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3758, allocations: 106.5 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.3758, allocations: 384 / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.3759, allocations: 16.36 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.3761, allocations: 130.9 kB / 1.37 GB, free: 8.414 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3761, allocations: 4 kB / 1.37 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3761, allocations: 0 / 1.37 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3761, allocations: 0 / 1.37 GB, free: 8.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.3761, allocations: 19.92 kB / 1.37 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.3763, allocations: 117.2 kB / 1.37 GB, free: 8.246 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.3764, allocations: 46.56 kB / 1.37 GB, free: 8.191 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.3764, allocations: 16.86 kB / 1.37 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005864/0.377, allocations: 245.8 kB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.377, allocations: 34.56 kB / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3771, allocations: 0 / 1.37 GB, free: 7.867 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0006143/0.3777, allocations: 237.8 kB / 1.37 GB, free: 7.602 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.3777, allocations: 51.41 kB / 1.37 GB, free: 7.539 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3778, allocations: 101.8 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3778, allocations: 25.7 kB / 1.37 GB, free: 7.398 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.3779, allocations: 92.09 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.3779, allocations: 23.75 kB / 1.371 GB, free: 7.281 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/0.378, allocations: 25.7 kB / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3781, allocations: 326.8 kB / 1.371 GB, free: 6.922 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.604e-05/0.3782, allocations: 15.98 kB / 1.371 GB, free: 6.906 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.637e-05/0.3782, allocations: 53.08 kB / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.738e-05/0.3783, allocations: 76.97 kB / 1.371 GB, free: 6.742 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3783, allocations: 0 / 1.371 GB, free: 6.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001455/0.3785, allocations: 97.88 kB / 1.371 GB, free: 6.641 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3785, allocations: 14.06 kB / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3785, allocations: 0 / 1.371 GB, free: 6.629 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.3785, allocations: 4 kB / 1.371 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.534e-05/0.3786, allocations: 19.98 kB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3786, allocations: 0 / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.748e-05/0.3786, allocations: 4 kB / 1.371 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3787, allocations: 11.98 kB / 1.371 GB, free: 6.59 MB / 1.061 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 9.625e-05/0.3787, allocations: 117.7 kB / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.3788, allocations: 0 / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.3788, allocations: 12.05 kB / 1.371 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3788, allocations: 8 kB / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3788, allocations: 0 / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.3788, allocations: 0 / 1.371 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.379, allocations: 125.2 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.379, allocations: 0 / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.394e-05/0.3791, allocations: 12 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3791, allocations: 0 / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.3791, allocations: 7.984 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3791, allocations: 0 / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3791, allocations: 0 / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.3794, allocations: 175.4 kB / 1.372 GB, free: 6.086 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.3794, allocations: 12.03 kB / 1.372 GB, free: 6.074 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.3794, allocations: 4 kB / 1.372 GB, free: 6.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3795, allocations: 4 kB / 1.372 GB, free: 6.066 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.3795, allocations: 3.984 kB / 1.372 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3795, allocations: 4 kB / 1.372 GB, free: 6.059 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.06e-05/0.3796, allocations: 79.28 kB / 1.372 GB, free: 5.98 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3796, allocations: 0 / 1.372 GB, free: 5.98 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002451/0.3798, allocations: 12 kB / 1.372 GB, free: 5.969 MB / 1.061 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.0001352/0.38, allocations: 119.2 kB / 1.372 GB, free: 5.844 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.3801, allocations: 39.86 kB / 1.372 GB, free: 5.805 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3801, allocations: 0 / 1.372 GB, free: 5.805 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-05/0.3801, allocations: 15.94 kB / 1.372 GB, free: 5.789 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3804, allocations: 5.547 kB / 1.372 GB, free: 5.785 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006559/0.3811, allocations: 365 kB / 1.372 GB, free: 5.395 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.419e-05/0.3811, allocations: 75.27 kB / 1.372 GB, free: 5.301 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.887e-05/0.3811, allocations: 11.44 kB / 1.372 GB, free: 5.293 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.3811, allocations: 4 kB / 1.372 GB, free: 5.289 MB / 1.061 GB Notification: Performance of Templates: time 0.002475/0.3836, allocations: 0.793 MB / 1.373 GB, free: 4.496 MB / 1.061 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/jenkins1/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: 11.137563708238304]