Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001283/0.001283, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001284/0.001284, allocations: 192.3 kB / 16.25 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.855/2.855, allocations: 469.8 MB / 0.742 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 70.75 kB / 0.908 GB, free: 34.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3669, allocations: 159.2 MB / 1.063 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003877/0.3708, allocations: 2.23 MB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.3731, allocations: 1.346 MB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.3733, allocations: 4 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006959/0.374, allocations: 175.7 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.3744, allocations: 119.5 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.3748, allocations: 130.1 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.3751, allocations: 231.1 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.3753, allocations: 44.66 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3755, allocations: 107.5 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.3756, allocations: 99.55 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.3757, allocations: 12 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.3758, allocations: 51.86 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.3759, allocations: 95.66 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.3761, allocations: 131 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.3765, allocations: 350.6 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3765, allocations: 4 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3766, allocations: 3.938 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3766, allocations: 0 / 1.068 GB, free: 9.52 MB / 0.8262 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.001021/0.3776, allocations: 0.6764 MB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3776, allocations: 12.03 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.3777, allocations: 48.31 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.3782, allocations: 356.2 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3782, allocations: 4.375 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3783, allocations: 11.94 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.3785, allocations: 73.59 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3785, allocations: 4 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.3785, allocations: 8 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3785, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3786, allocations: 39.92 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000709/0.3793, allocations: 452.5 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3796, allocations: 78.59 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.495e-05/0.3796, allocations: 24.84 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3797, allocations: 4 kB / 1.07 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.3798, allocations: 71.39 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 3.416e-06/0.3799, allocations: 112 / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003573/0.3802, allocations: 153 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.3803, allocations: 55.34 kB / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.3809, allocations: 0.5294 MB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3809, allocations: 29.7 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.3811, allocations: 220 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.3812, allocations: 15.75 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.3813, allocations: 41.7 kB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3814, allocations: 362.8 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3816, allocations: 47.98 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3817, allocations: 80.02 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3819, allocations: 91.03 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3819, allocations: 4 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003193/0.3822, allocations: 194.9 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3822, allocations: 8.062 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3822, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3823, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.3824, allocations: 27.92 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3824, allocations: 0 / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3825, allocations: 15.91 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.3825, allocations: 7.984 kB / 1.072 GB, free: 5.586 MB / 0.8262 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.0001907/0.3827, allocations: 181.7 kB / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.3828, allocations: 47.44 kB / 1.072 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.436e-05/0.3829, allocations: 43.8 kB / 1.072 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3829, allocations: 4.188 kB / 1.072 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3829, allocations: 0 / 1.072 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3829, allocations: 4 kB / 1.072 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.3832, allocations: 297.5 kB / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3832, allocations: 0 / 1.073 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.3832, allocations: 7.938 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3832, allocations: 0 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3833, allocations: 4 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3833, allocations: 3.938 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3833, allocations: 4 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.3835, allocations: 148.6 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.807e-05/0.3836, allocations: 120.5 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.3837, allocations: 4 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.996e-05/0.3838, allocations: 15.86 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.3838, allocations: 7.984 kB / 1.073 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.3838, allocations: 8 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004161/0.3843, allocations: 366.8 kB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3843, allocations: 0 / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002541/0.3845, allocations: 40 kB / 1.073 GB, free: 4.207 MB / 0.8262 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.001562/0.3861, allocations: 424.8 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002809/0.3864, allocations: 99.91 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3864, allocations: 0 / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.791e-05/0.3865, allocations: 32.05 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3869, allocations: 50.25 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.388, allocations: 0.7299 MB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.3885, allocations: 0.8177 MB / 1.075 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.185e-05/0.3886, allocations: 21.55 kB / 1.075 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/0.3886, allocations: 19.42 kB / 1.075 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of SimCode: time 1.954e-06/0.3886, allocations: 0 / 1.075 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of Templates: time 0.007983/0.3966, allocations: 2.809 MB / 1.078 GB, free: 15.34 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches