Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001627, allocations: 104 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001456, allocations: 63.91 kB / 0.9515 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8088/0.8103, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003289/0.8136, allocations: 2.174 MB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.8156, allocations: 1.383 MB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.8157, allocations: 6.094 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000596/0.8164, allocations: 196.9 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.8167, allocations: 124 kB / 1.092 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.8171, allocations: 148 kB / 1.093 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.8174, allocations: 228.8 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.8175, allocations: 46.86 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.8177, allocations: 102 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.8179, allocations: 96.08 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.8179, allocations: 11.25 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.818, allocations: 59.19 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.8182, allocations: 91.12 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.8183, allocations: 132.6 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004775/0.8188, allocations: 354.7 kB / 1.094 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.8188, allocations: 5 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8188, allocations: 0 / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.8188, allocations: 0 / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008401/0.8197, allocations: 0.6756 MB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.8197, allocations: 9.25 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.8198, allocations: 44.44 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004137/0.8202, allocations: 356.6 kB / 1.095 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.8202, allocations: 3.469 kB / 1.095 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.8203, allocations: 12.89 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.8205, allocations: 79.05 kB / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.8205, allocations: 0 / 1.095 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.8205, allocations: 5.469 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.8205, allocations: 1.703 kB / 1.095 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.8206, allocations: 35.23 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.8213, allocations: 464.9 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.8215, allocations: 64.94 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/0.8216, allocations: 31.34 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.8216, allocations: 1.188 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.8218, allocations: 75.3 kB / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.8218, allocations: 0 / 1.095 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003446/0.8221, allocations: 147.9 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.8222, allocations: 56.95 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.8229, allocations: 0.5285 MB / 1.096 GB, free: 452 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.8229, allocations: 27.67 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.823, allocations: 222 kB / 1.096 GB, free: 232 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.8231, allocations: 17.31 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.8231, allocations: 37.88 kB / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8233, allocations: 358.3 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.8234, allocations: 48.05 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.8236, allocations: 83.7 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.8238, allocations: 88.42 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.8238, allocations: 0.5625 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003659/0.8241, allocations: 193 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.8242, allocations: 6.562 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8242, allocations: 112 / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8242, allocations: 6.219 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.8243, allocations: 25.56 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8243, allocations: 0.875 kB / 1.097 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.8245, allocations: 25.16 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.8245, allocations: 5.469 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001927/0.8247, allocations: 180.9 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.8248, allocations: 43.34 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.8249, allocations: 45.27 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8249, allocations: 5.156 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8249, allocations: 1.859 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.8249, allocations: 4 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.8252, allocations: 300 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8252, allocations: 4.656 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.8253, allocations: 4.578 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.8253, allocations: 0.5312 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.8253, allocations: 2.109 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.8253, allocations: 3.938 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8253, allocations: 1.328 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.8256, allocations: 149.3 kB / 1.098 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.8257, allocations: 114.8 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.8257, allocations: 9.156 kB / 1.098 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.8258, allocations: 10.67 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.8259, allocations: 7.938 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.8259, allocations: 7.766 kB / 1.098 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004592/0.8264, allocations: 364.6 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8264, allocations: 0 / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002938/0.8267, allocations: 44.77 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001002/0.8277, allocations: 426.5 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.828, allocations: 92.8 kB / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.828, allocations: 0 / 1.099 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.8281, allocations: 27.3 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.8285, allocations: 57.7 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.8296, allocations: 0.6782 MB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.8301, allocations: 0.8146 MB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.8301, allocations: 24.62 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.8301, allocations: 0 / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of Templates: time 0.00886/0.839, allocations: 4.135 MB / 1.105 GB, free: 12.66 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches