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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001354/0.001354, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001436/0.001437, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.385/1.385, 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 10.1.1-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 64.34 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8026/0.804, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003731/0.8078, allocations: 2.198 MB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.81, allocations: 1.374 MB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.8102, allocations: 0 / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000575/0.8108, allocations: 187.1 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.8112, allocations: 127.4 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004357/0.8117, allocations: 149.9 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00036/0.812, allocations: 223.2 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.8122, allocations: 56.02 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.8125, allocations: 95.56 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.8126, allocations: 103.5 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.8127, allocations: 8 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.8128, allocations: 51.97 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.813, allocations: 91.67 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.8131, allocations: 138.9 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.8136, allocations: 360.6 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8136, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8136, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.8136, allocations: 0 / 1.172 GB, free: 14.69 MB / 0.9044 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.001011/0.8146, allocations: 0.6764 MB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.8146, allocations: 8.031 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.775e-05/0.8147, allocations: 48.38 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.8152, allocations: 356.2 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.8152, allocations: 4.375 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.8153, allocations: 15.92 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.8154, allocations: 69.66 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.8155, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.8155, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.8155, allocations: 4 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.8156, allocations: 31.92 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.8163, allocations: 460.5 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.8165, allocations: 70.61 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.952e-05/0.8166, allocations: 24.86 kB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.8166, allocations: 8.047 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.8168, allocations: 79.31 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.8168, allocations: 0 / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0003651/0.8172, allocations: 149 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.8172, allocations: 55.34 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/0.8178, allocations: 0.5294 MB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.8178, allocations: 25.7 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.818, allocations: 224 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.818, allocations: 19.8 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.8181, allocations: 41.61 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8182, allocations: 358.8 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.8183, allocations: 47.98 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.8185, allocations: 78.48 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.8186, allocations: 91.69 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8186, allocations: 3.938 kB / 1.176 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003057/0.8189, allocations: 185.1 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.819, allocations: 10.33 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.819, allocations: 4 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.819, allocations: 0 / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.8191, allocations: 23.88 kB / 1.176 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8192, allocations: 7.984 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.8193, allocations: 15.97 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.8193, allocations: 8.25 kB / 1.176 GB, free: 10.77 MB / 0.9044 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.0001632/0.8195, allocations: 182.9 kB / 1.176 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.8195, allocations: 43.44 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.8196, allocations: 47.8 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.8196, allocations: 7.938 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.8196, allocations: 0 / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8196, allocations: 0 / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.8199, allocations: 293.5 kB / 1.176 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.8199, allocations: 7.984 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.455e-05/0.8199, allocations: 7.938 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.8199, allocations: 0 / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.82, allocations: 0 / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.82, allocations: 3.938 kB / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.82, allocations: 0 / 1.176 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.8202, allocations: 148.5 kB / 1.177 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-05/0.8203, allocations: 116.6 kB / 1.177 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.8204, allocations: 12 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.8204, allocations: 7.938 kB / 1.177 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.8205, allocations: 7.984 kB / 1.177 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.8205, allocations: 7.984 kB / 1.177 GB, free: 9.789 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003632/0.8209, allocations: 366.8 kB / 1.177 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8209, allocations: 0 / 1.177 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002731/0.8212, allocations: 43.91 kB / 1.177 GB, free: 9.391 MB / 0.9044 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.001003/0.8222, allocations: 420.6 kB / 1.178 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.8225, allocations: 94.48 kB / 1.178 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8225, allocations: 0 / 1.178 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.8226, allocations: 31.92 kB / 1.178 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.823, allocations: 57.38 kB / 1.178 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.824, allocations: 0.677 MB / 1.178 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.8244, allocations: 0.8177 MB / 1.179 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.8244, allocations: 23.44 kB / 1.179 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/0.8244, allocations: 3.938 kB / 1.179 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of Templates: time 0.006724/0.8312, allocations: 4.134 MB / 1.183 GB, free: 3.273 MB / 0.9044 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