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.001812/0.001812, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001972/0.001972, allocations: 214.5 kB / 22.25 MB, free: 5.262 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.789 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.388/3.388, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002228/0.002228, allocations: 67.16 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3972, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002407/0.3996, allocations: 1.274 MB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003884/0.4035, allocations: 2.773 MB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.4035, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.4035, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.333e-05/0.4036, allocations: 11.94 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.4041, allocations: 99.55 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.044e-05/0.4042, allocations: 35.91 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.4042, allocations: 0 / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005401/0.4048, allocations: 199.2 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.4048, allocations: 11.98 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.4048, allocations: 3.938 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.405, allocations: 55.89 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.405, allocations: 11.92 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.405, allocations: 15.98 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.4052, allocations: 59.8 kB / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4052, allocations: 0 / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4052, allocations: 0 / 1.368 GB, free: 8.996 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4052, allocations: 0 / 1.368 GB, free: 8.996 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.0004516/0.4057, allocations: 262.3 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4057, allocations: 12.03 kB / 1.369 GB, free: 8.699 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.4058, allocations: 12.83 kB / 1.369 GB, free: 8.688 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.4059, allocations: 110.5 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4059, allocations: 4.375 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.4059, allocations: 4.375 kB / 1.369 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.4061, allocations: 134.9 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.4061, allocations: 0 / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4061, allocations: 4 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4061, allocations: 0 / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.4062, allocations: 15.98 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.4063, allocations: 117.2 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.4064, allocations: 54.5 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.4065, allocations: 16.86 kB / 1.369 GB, free: 8.145 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.407, allocations: 250.1 kB / 1.369 GB, free: 7.879 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.4071, allocations: 38.55 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.4071, allocations: 0 / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0005868/0.4077, allocations: 229.1 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.4077, allocations: 51.41 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.4078, allocations: 101.8 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.4078, allocations: 25.7 kB / 1.37 GB, free: 7.371 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.259e-05/0.4078, allocations: 92.09 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.4079, allocations: 27.81 kB / 1.37 GB, free: 7.25 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.58e-05/0.4079, allocations: 29.7 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4081, allocations: 318.8 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.4081, allocations: 15.98 kB / 1.37 GB, free: 6.879 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.4081, allocations: 53.14 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.565e-05/0.4082, allocations: 69.09 kB / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.4082, allocations: 0 / 1.37 GB, free: 6.723 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001464/0.4084, allocations: 101.4 kB / 1.37 GB, free: 6.617 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4084, allocations: 8 kB / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.4084, allocations: 0 / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.4084, allocations: 0 / 1.37 GB, free: 6.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.4085, allocations: 27.92 kB / 1.37 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4085, allocations: 3.938 kB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.4085, allocations: 8 kB / 1.37 GB, free: 6.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.4086, allocations: 4 kB / 1.37 GB, free: 6.566 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.437e-05/0.4087, allocations: 125.8 kB / 1.37 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.4087, allocations: 0 / 1.37 GB, free: 6.434 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.4087, allocations: 12.05 kB / 1.37 GB, free: 6.422 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4087, allocations: 4 kB / 1.37 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4087, allocations: 0 / 1.37 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4087, allocations: 0 / 1.37 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.4089, allocations: 121.2 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4089, allocations: 0 / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.409, allocations: 15.98 kB / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.409, allocations: 0 / 1.371 GB, free: 6.254 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.409, allocations: 4.438 kB / 1.371 GB, free: 6.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.409, allocations: 8 kB / 1.371 GB, free: 6.242 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.409, allocations: 4 kB / 1.371 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.4092, allocations: 171.4 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.4093, allocations: 8.031 kB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.4093, allocations: 0 / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4094, allocations: 4 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.044e-05/0.4094, allocations: 12.34 kB / 1.371 GB, free: 6.031 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.4094, allocations: 4 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.4095, allocations: 83.27 kB / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4095, allocations: 0 / 1.371 GB, free: 5.945 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002437/0.4097, allocations: 16 kB / 1.371 GB, free: 5.93 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.0001268/0.4098, allocations: 103.2 kB / 1.371 GB, free: 5.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.4099, allocations: 43.86 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4099, allocations: 0 / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.322e-05/0.41, allocations: 11.94 kB / 1.371 GB, free: 5.766 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.4103, allocations: 8 kB / 1.371 GB, free: 5.758 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.4109, allocations: 330.9 kB / 1.371 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.643e-05/0.4109, allocations: 71.98 kB / 1.371 GB, free: 5.316 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.574e-05/0.411, allocations: 7.984 kB / 1.371 GB, free: 5.309 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.411, allocations: 11.44 kB / 1.371 GB, free: 5.301 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.411, allocations: 3.938 kB / 1.371 GB, free: 5.297 MB / 1.061 GB Notification: Performance of Templates: time 0.003312/0.4143, allocations: 0.655 MB / 1.372 GB, free: 4.652 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/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: 9.472950018942356]