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.001402/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001555/0.001555, allocations: 189.3 kB / 16.13 MB, free: 6.629 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.829/2.829, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 63.91 kB / 0.8686 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.8015, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004173/0.8057, allocations: 2.262 MB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.8082, allocations: 1.347 MB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.8084, allocations: 3.938 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007045/0.8091, allocations: 179.2 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002947/0.8094, allocations: 115.5 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.8099, allocations: 123.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000307/0.8102, allocations: 219.1 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.8103, allocations: 42.3 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.8105, allocations: 87.58 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.8107, allocations: 95.48 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.8107, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.8109, allocations: 47.95 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.811, allocations: 91.55 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.8112, allocations: 127 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.8116, allocations: 346.6 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8116, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8116, allocations: 8 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8116, allocations: 0 / 1.022 GB, free: 13.7 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.001078/0.8127, allocations: 0.6661 MB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.8128, allocations: 12.03 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.298e-05/0.8129, allocations: 44.38 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004526/0.8133, allocations: 360.1 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.8133, allocations: 8.375 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.8134, allocations: 11.94 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.8136, allocations: 73.66 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.8136, allocations: 3.984 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.8136, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.8136, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.8137, allocations: 35.92 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.8145, allocations: 464.5 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.8147, allocations: 66.61 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.8148, allocations: 24.84 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.8148, allocations: 7.938 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.815, allocations: 79.38 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.815, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0003793/0.8154, allocations: 137.1 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.8155, allocations: 55.34 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/0.8161, allocations: 0.5372 MB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.8161, allocations: 33.64 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.8163, allocations: 216 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.8164, allocations: 19.78 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.8165, allocations: 45.7 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.8167, allocations: 354.8 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.8168, allocations: 47.97 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.8169, allocations: 74.55 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.8171, allocations: 91.19 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.8171, allocations: 7.969 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003227/0.8175, allocations: 189.1 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.8175, allocations: 8 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8175, allocations: 0 / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.8175, allocations: 0 / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.8176, allocations: 35.86 kB / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.8177, allocations: 0 / 1.025 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.8178, allocations: 19.83 kB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.8178, allocations: 4.25 kB / 1.025 GB, free: 9.773 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.0001919/0.818, allocations: 182.6 kB / 1.025 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.8181, allocations: 39.53 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.64e-05/0.8181, allocations: 47.8 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.8182, allocations: 7.938 kB / 1.025 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.8182, allocations: 0 / 1.025 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8182, allocations: 0 / 1.025 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.8185, allocations: 297.4 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8185, allocations: 0 / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.8185, allocations: 7.938 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8185, allocations: 4 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.8186, allocations: 4 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8186, allocations: 7.938 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.8186, allocations: 3.984 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.8188, allocations: 140.6 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-05/0.8189, allocations: 116.5 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.819, allocations: 0 / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.8191, allocations: 15.92 kB / 1.026 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.8191, allocations: 15.97 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.8191, allocations: 4 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003957/0.8195, allocations: 370.7 kB / 1.026 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8195, allocations: 0 / 1.026 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002598/0.8198, allocations: 43.98 kB / 1.026 GB, free: 8.398 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.001511/0.8213, allocations: 415.6 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.8216, allocations: 91.97 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8216, allocations: 0 / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.544e-05/0.8217, allocations: 35.91 kB / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.8221, allocations: 58.08 kB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.8232, allocations: 0.724 MB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.8237, allocations: 0.8195 MB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.54e-05/0.8238, allocations: 21.53 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.8238, allocations: 23.42 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.8238, allocations: 0 / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of Templates: time 0.007135/0.831, allocations: 2.72 MB / 1.031 GB, free: 3.637 MB / 0.7794 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=400 -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/jenkins/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