Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001417/0.001418, allocations: 115 kB / 16.37 MB, free: 5.539 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.001554/0.001554, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.574/1.574, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.583/2.583, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 72.14 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.344, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004692/0.3487, allocations: 2.189 MB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.3511, allocations: 1.37 MB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.3513, allocations: 7.938 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006512/0.352, allocations: 187.6 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.3523, allocations: 123.4 kB / 1.031 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.3528, allocations: 143.6 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.3531, allocations: 231.1 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.3533, allocations: 40.38 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.3534, allocations: 99.45 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3536, allocations: 91.55 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.3536, allocations: 16 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.3538, allocations: 59.89 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.354, allocations: 91.69 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.3542, allocations: 138.9 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.3547, allocations: 354.6 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3548, allocations: 0 / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3548, allocations: 3.938 kB / 1.032 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.3548, allocations: 0 / 1.032 GB, free: 12.91 MB / 0.8106 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.001253/0.356, allocations: 0.6803 MB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3561, allocations: 8.031 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.3562, allocations: 44.38 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.3568, allocations: 352.3 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3568, allocations: 4.375 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.3569, allocations: 7.938 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.3571, allocations: 85.53 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3572, allocations: 0 / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3572, allocations: 3.984 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3572, allocations: 4 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.3574, allocations: 35.98 kB / 1.033 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.3584, allocations: 456.5 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.3587, allocations: 66.67 kB / 1.033 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/0.3588, allocations: 32.84 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3589, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.3591, allocations: 83.31 kB / 1.034 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.3591, allocations: 0 / 1.034 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0005364/0.3597, allocations: 137.1 kB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.3597, allocations: 59.34 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007637/0.3605, allocations: 0.5294 MB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3606, allocations: 37.69 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.3608, allocations: 212 kB / 1.034 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.3608, allocations: 23.73 kB / 1.034 GB, free: 9.875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.3609, allocations: 37.7 kB / 1.035 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3611, allocations: 354.8 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.3613, allocations: 47.97 kB / 1.035 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.3615, allocations: 81.2 kB / 1.035 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.3617, allocations: 92.59 kB / 1.035 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.3617, allocations: 112 / 1.035 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004455/0.3622, allocations: 200.9 kB / 1.035 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3622, allocations: 4 kB / 1.035 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3622, allocations: 3.938 kB / 1.035 GB, free: 9.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3623, allocations: 4 kB / 1.035 GB, free: 9.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3625, allocations: 23.98 kB / 1.035 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3625, allocations: 4 kB / 1.035 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.3627, allocations: 19.89 kB / 1.035 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.3627, allocations: 4 kB / 1.035 GB, free: 8.984 MB / 0.8106 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.0002561/0.363, allocations: 185.7 kB / 1.036 GB, free: 8.793 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.363, allocations: 35.53 kB / 1.036 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.3631, allocations: 43.8 kB / 1.036 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3632, allocations: 3.938 kB / 1.036 GB, free: 8.711 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3632, allocations: 4 kB / 1.036 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3632, allocations: 4 kB / 1.036 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.3636, allocations: 301.4 kB / 1.036 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3636, allocations: 0 / 1.036 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.938e-05/0.3636, allocations: 4 kB / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.3636, allocations: 0 / 1.036 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3636, allocations: 4 kB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3637, allocations: 3.938 kB / 1.036 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3637, allocations: 0 / 1.036 GB, free: 8.348 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.364, allocations: 160.8 kB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.3641, allocations: 116.5 kB / 1.036 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.979e-05/0.3642, allocations: 4 kB / 1.036 GB, free: 8.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3643, allocations: 11.92 kB / 1.036 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.3644, allocations: 11.98 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3644, allocations: 4 kB / 1.036 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005511/0.365, allocations: 362.8 kB / 1.037 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.365, allocations: 0 / 1.037 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004539/0.3655, allocations: 47.98 kB / 1.037 GB, free: 7.609 MB / 0.8106 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.001282/0.3668, allocations: 418.3 kB / 1.037 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003022/0.3671, allocations: 93.73 kB / 1.037 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3671, allocations: 4 kB / 1.037 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.763e-05/0.3672, allocations: 31.98 kB / 1.037 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.3677, allocations: 48.53 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.369, allocations: 0.6402 MB / 1.038 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.3696, allocations: 0.8145 MB / 1.039 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001108/0.3697, allocations: 25.53 kB / 1.039 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.3698, allocations: 23.42 kB / 1.039 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of SimCode: time 9.82e-07/0.3698, allocations: 0 / 1.039 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of Templates: time 0.009779/0.3796, allocations: 2.874 MB / 1.041 GB, free: 2.773 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches