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.0008396/0.0008396, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001151/0.00199, allocations: 440 kB / 10.41 MB, free: 284 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.000677/0.000677, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009293/0.001606, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.022/1.022, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09647/1.118, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.31/2.31, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2436/2.554, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.623e-06/1.623e-06, allocations: 0 / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.009e-05, allocations: 4.562 kB / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002743/0.002763, allocations: 1.348 MB / 0.8202 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003889/0.006652, allocations: 3.09 MB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.006678, allocations: 0 / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.006688, allocations: 3.938 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.442e-05/0.006713, allocations: 0 / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.007078, allocations: 103.5 kB / 0.8233 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.597e-05/0.007154, allocations: 35.86 kB / 0.8234 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.073e-05/0.007185, allocations: 0 / 0.8234 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.007604, allocations: 167.4 kB / 0.8235 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.007647, allocations: 15.92 kB / 0.8236 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.007658, allocations: 0 / 0.8236 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.007799, allocations: 55.88 kB / 0.8236 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.007815, allocations: 4 kB / 0.8236 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.007837, allocations: 15.94 kB / 0.8236 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.007984, allocations: 55.83 kB / 0.8237 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.007996, allocations: 0 / 0.8237 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.52e-07/0.007997, allocations: 0 / 0.8237 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.008009, allocations: 0 / 0.8237 GB, free: 13.59 MB / 0.8073 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.0003503/0.008359, allocations: 260.5 kB / 0.8239 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.008392, allocations: 12.03 kB / 0.8239 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.008425, allocations: 8.938 kB / 0.8239 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.767e-05/0.008513, allocations: 101.8 kB / 0.824 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.008523, allocations: 4.375 kB / 0.824 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.008553, allocations: 12.36 kB / 0.8241 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.008665, allocations: 123.3 kB / 0.8242 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.008674, allocations: 4.172 kB / 0.8242 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.008683, allocations: 8.125 kB / 0.8242 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.00869, allocations: 8 kB / 0.8242 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.008725, allocations: 19.91 kB / 0.8242 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.27e-05/0.008818, allocations: 68.94 kB / 0.8243 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.335e-05/0.008891, allocations: 42.56 kB / 0.8243 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.008911, allocations: 16.84 kB / 0.8243 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/0.009313, allocations: 212.4 kB / 0.8245 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.009338, allocations: 42.52 kB / 0.8246 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.00934, allocations: 0 / 0.8246 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0005116/0.009851, allocations: 237.1 kB / 0.8248 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.009882, allocations: 51.41 kB / 0.8249 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.009946, allocations: 102.7 kB / 0.825 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.00996, allocations: 29.7 kB / 0.825 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.01001, allocations: 96.02 kB / 0.8251 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.01003, allocations: 23.8 kB / 0.8251 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.01007, allocations: 25.7 kB / 0.8251 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.01017, allocations: 318.8 kB / 0.8254 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.01019, allocations: 12 kB / 0.8254 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.339e-05/0.01023, allocations: 53.02 kB / 0.8255 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.0105, allocations: 65.05 kB / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.0105, allocations: 0 / 0.8255 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.94e-05/0.0106, allocations: 77.48 kB / 0.8256 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01061, allocations: 12.11 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.01061, allocations: 4 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.01063, allocations: 4 kB / 0.8256 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.0107, allocations: 19.94 kB / 0.8257 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.0107, allocations: 7.938 kB / 0.8257 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.421e-05/0.01074, allocations: 4 kB / 0.8257 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.01074, allocations: 4 kB / 0.8257 GB, free: 11.3 MB / 0.8073 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 6.611e-05/0.01081, allocations: 117.8 kB / 0.8258 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.01084, allocations: 11.94 kB / 0.8258 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.01086, allocations: 8.125 kB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01086, allocations: 288 / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01087, allocations: 4.438 kB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.01087, allocations: 7.984 kB / 0.8258 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.01104, allocations: 73.89 kB / 0.8259 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.01105, allocations: 8 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.148e-05/0.01112, allocations: 19.92 kB / 0.8259 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.01114, allocations: 11.89 kB / 0.8259 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01114, allocations: 0 / 0.8259 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.01115, allocations: 0 / 0.8259 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01115, allocations: 0 / 0.8259 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.01115, allocations: 4 kB / 0.8259 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.0113, allocations: 163.5 kB / 0.8261 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.01131, allocations: 3.938 kB / 0.8261 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.01138, allocations: 4 kB / 0.8261 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.01139, allocations: 11.92 kB / 0.8261 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.0114, allocations: 0 / 0.8261 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.285e-05/0.01141, allocations: 8.859 kB / 0.8261 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01141, allocations: 0 / 0.8261 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002378/0.01165, allocations: 16 kB / 0.8261 GB, free: 10.79 MB / 0.8073 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.0001051/0.01176, allocations: 84.41 kB / 0.8262 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.42e-05/0.01184, allocations: 40.78 kB / 0.8262 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.01185, allocations: 7.984 kB / 0.8263 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.728e-05/0.01187, allocations: 20.8 kB / 0.8263 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.01206, allocations: 15.98 kB / 0.8263 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.01334, allocations: 192.8 kB / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.115e-05/0.01338, allocations: 59.3 kB / 0.8265 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.277e-05/0.01342, allocations: 8.453 kB / 0.8265 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.0135, allocations: 71.38 kB / 0.8266 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.0135, allocations: 0 / 0.8266 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.002467/0.01596, allocations: 0.7344 MB / 0.8273 GB, free: 9.512 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck/Buildings_latest_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_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] Not compared, constant in the reference and not in the result: der(cpCod), der(cvCod) Reference file matches [Calling sys.exit(0), Time elapsed: 5.145527942106128]