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.001941/0.001941, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.002448/0.002448, allocations: 164.5 kB / 22.46 MB, free: 5.359 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.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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 2.975/2.975, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.632e-05, allocations: 2.281 kB / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002272/0.002299, allocations: 1.276 MB / 1.001 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004016/0.006315, allocations: 2.81 MB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.006342, allocations: 0 / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.006357, allocations: 4 kB / 1.004 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.111e-05/0.006408, allocations: 7.922 kB / 1.004 GB, free: 3.207 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.00692, allocations: 103.4 kB / 1.004 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.242e-05/0.007003, allocations: 39.83 kB / 1.004 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.007042, allocations: 11.94 kB / 1.004 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.007541, allocations: 151.6 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.76e-05/0.007588, allocations: 19.97 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.007604, allocations: 4 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.007749, allocations: 55.83 kB / 1.004 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.007768, allocations: 7.922 kB / 1.004 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.007801, allocations: 15.98 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.007977, allocations: 55.86 kB / 1.005 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.00798, allocations: 4 kB / 1.005 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.82e-07/0.00798, allocations: 0 / 1.005 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.007985, allocations: 3.938 kB / 1.005 GB, free: 2.742 MB / 0.9512 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.0004377/0.008422, allocations: 270.3 kB / 1.005 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.008459, allocations: 12.03 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.008521, allocations: 8.891 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.008641, allocations: 113.7 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.008655, allocations: 384 / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.008682, allocations: 4.375 kB / 1.005 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.008878, allocations: 139.3 kB / 1.005 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.008888, allocations: 192 / 1.005 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.008903, allocations: 4.125 kB / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.00891, allocations: 4 kB / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.048e-05/0.00897, allocations: 23.91 kB / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.00913, allocations: 105.3 kB / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.009239, allocations: 54.55 kB / 1.005 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.00927, allocations: 12.86 kB / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/0.009853, allocations: 246.1 kB / 1.005 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.009883, allocations: 42.55 kB / 1.006 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.009884, allocations: 0 / 1.006 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0005766/0.01046, allocations: 221.5 kB / 1.006 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.0105, allocations: 51.41 kB / 1.006 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.01059, allocations: 105.8 kB / 1.006 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.01061, allocations: 29.7 kB / 1.006 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.01067, allocations: 84.09 kB / 1.006 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.01069, allocations: 31.73 kB / 1.006 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.01074, allocations: 25.72 kB / 1.006 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.01088, allocations: 314.8 kB / 1.006 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.01091, allocations: 20 kB / 1.006 GB, free: 0.6289 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.01097, allocations: 57.14 kB / 1.006 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.01108, allocations: 73.02 kB / 1.007 GB, free: 476 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01108, allocations: 7.938 kB / 1.007 GB, free: 468 kB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001462/0.01122, allocations: 93.55 kB / 1.007 GB, free: 368 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.01124, allocations: 4 kB / 1.007 GB, free: 364 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.01124, allocations: 0 / 1.007 GB, free: 364 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.01126, allocations: 4 kB / 1.007 GB, free: 360 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.01134, allocations: 23.98 kB / 1.007 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.01135, allocations: 4 kB / 1.007 GB, free: 332 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.01139, allocations: 0 / 1.007 GB, free: 332 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.0114, allocations: 4.125 kB / 1.007 GB, free: 328 kB / 0.9512 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.113e-05/0.01149, allocations: 126.2 kB / 1.007 GB, free: 192 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.01152, allocations: 7.953 kB / 1.007 GB, free: 184 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.01155, allocations: 8.125 kB / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.01155, allocations: 0 / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01155, allocations: 0 / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01156, allocations: 0 / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.01178, allocations: 129.3 kB / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.01178, allocations: 0 / 1.007 GB, free: 20 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-05/0.01187, allocations: 16 kB / 1.007 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01188, allocations: 0 / 1.007 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.0119, allocations: 8.188 kB / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.0119, allocations: 3.938 kB / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0119, allocations: 0 / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.0121, allocations: 175.8 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.184e-05/0.01213, allocations: 15.98 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.01215, allocations: 0 / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.01226, allocations: 96 / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/0.01227, allocations: 7.984 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.01228, allocations: 7.984 kB / 1.007 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.01232, allocations: 79.28 kB / 1.007 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01232, allocations: 7.938 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002473/0.01257, allocations: 12 kB / 1.007 GB, free: 15.67 MB / 0.9669 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.0001263/0.0127, allocations: 99.25 kB / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.01282, allocations: 39.92 kB / 1.007 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01282, allocations: 0 / 1.007 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.01285, allocations: 23.83 kB / 1.007 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01315, allocations: 18.44 kB / 1.007 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.01368, allocations: 245.1 kB / 1.008 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.51e-05/0.01375, allocations: 67.34 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.976e-05/0.0138, allocations: 11.98 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.01383, allocations: 12.5 kB / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.01383, allocations: 0 / 1.008 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of Templates: time 0.003463/0.01729, allocations: 0.6198 MB / 1.008 GB, free: 14.5 MB / 0.9669 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: 8.427796632051468]