Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0008531/0.000853, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 177.7 kB / 16.92 MB, free: 6.652 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003981, allocations: 12 kB / 0.8735 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6255/0.6259, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.0028/0.6287, allocations: 1.892 MB / 1.026 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002157/0.6309, allocations: 1.332 MB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.6311, allocations: 0 / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.6317, allocations: 179.2 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.632, allocations: 111.6 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.6324, allocations: 131.2 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.6327, allocations: 223.1 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.6329, allocations: 30.38 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.633, allocations: 87.5 kB / 1.028 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.6332, allocations: 99.48 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.745e-05/0.6332, allocations: 8 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.6334, allocations: 39.97 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.6335, allocations: 79.62 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.6336, allocations: 160.6 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.6339, allocations: 263.4 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6339, allocations: 0 / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.634, allocations: 0 / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.634, allocations: 0 / 1.028 GB, free: 11.19 MB / 0.7794 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.0009286/0.6349, allocations: 0.6184 MB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.635, allocations: 12.03 kB / 1.029 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.029e-05/0.635, allocations: 44.38 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.6355, allocations: 356.2 kB / 1.029 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.6355, allocations: 4.375 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.6355, allocations: 7.938 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.6357, allocations: 77.59 kB / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6357, allocations: 3.984 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.6358, allocations: 11.98 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.6358, allocations: 0 / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.6359, allocations: 35.98 kB / 1.029 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007027/0.6366, allocations: 464.4 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.6368, allocations: 70.67 kB / 1.03 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.045e-05/0.6369, allocations: 20.86 kB / 1.03 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.6369, allocations: 4 kB / 1.03 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.6371, allocations: 75.31 kB / 1.03 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.6371, allocations: 4 kB / 1.03 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.000358/0.6375, allocations: 145.1 kB / 1.03 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.6375, allocations: 55.34 kB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005919/0.6381, allocations: 0.5294 MB / 1.031 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.6381, allocations: 25.7 kB / 1.031 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.6383, allocations: 220 kB / 1.031 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.6384, allocations: 15.8 kB / 1.031 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.6384, allocations: 29.7 kB / 1.031 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6386, allocations: 358.8 kB / 1.031 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.6387, allocations: 51.91 kB / 1.031 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.6388, allocations: 78.45 kB / 1.031 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.639, allocations: 93.44 kB / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.639, allocations: 0 / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003425/0.6394, allocations: 191.2 kB / 1.032 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6394, allocations: 8.172 kB / 1.032 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6394, allocations: 7.938 kB / 1.032 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6394, allocations: 0 / 1.032 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.6396, allocations: 23.92 kB / 1.032 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.6396, allocations: 4 kB / 1.032 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.6397, allocations: 23.83 kB / 1.032 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.6398, allocations: 4 kB / 1.032 GB, free: 7.324 MB / 0.7794 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.000215/0.64, allocations: 190.3 kB / 1.032 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/0.64, allocations: 39.69 kB / 1.032 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.542e-05/0.6401, allocations: 47.8 kB / 1.032 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.6401, allocations: 3.938 kB / 1.032 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6401, allocations: 4 kB / 1.032 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.6401, allocations: 4 kB / 1.032 GB, free: 7.031 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.6404, allocations: 289.5 kB / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6404, allocations: 0 / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.362e-05/0.6405, allocations: 4 kB / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6405, allocations: 0 / 1.032 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.6405, allocations: 12 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6405, allocations: 7.922 kB / 1.032 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6405, allocations: 0 / 1.032 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.6408, allocations: 144.6 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.605e-05/0.6409, allocations: 116.5 kB / 1.033 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.6409, allocations: 0 / 1.033 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.641, allocations: 15.92 kB / 1.033 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.6411, allocations: 15.98 kB / 1.033 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.6411, allocations: 4 kB / 1.033 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004083/0.6415, allocations: 366.8 kB / 1.033 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6415, allocations: 0 / 1.033 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002815/0.6418, allocations: 44 kB / 1.033 GB, free: 5.949 MB / 0.7794 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.0009823/0.6428, allocations: 425.9 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002558/0.643, allocations: 103.9 kB / 1.033 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6431, allocations: 0 / 1.033 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-05/0.6431, allocations: 27.94 kB / 1.034 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.6435, allocations: 55.86 kB / 1.034 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.6447, allocations: 0.7862 MB / 1.034 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.6451, allocations: 0.8141 MB / 1.035 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.6451, allocations: 19.42 kB / 1.035 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6451, allocations: 0 / 1.035 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.007168/0.6523, allocations: 4.139 MB / 1.039 GB, free: 15.72 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches