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.0008163/0.0008163, allocations: 97.78 kB / 16.02 MB, free: 76 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.0009323/0.0009323, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.687/2.687, allocations: 443.2 MB / 0.7181 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 8.844 kB / 0.8801 GB, free: 42.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2652, allocations: 155.2 MB / 1.032 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002735/0.268, allocations: 1.891 MB / 1.033 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2701, allocations: 1.328 MB / 1.035 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.2703, allocations: 0 / 1.035 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.2709, allocations: 183.7 kB / 1.035 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.2711, allocations: 115.5 kB / 1.035 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.2716, allocations: 126.7 kB / 1.035 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.2718, allocations: 219.2 kB / 1.035 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.272, allocations: 36.61 kB / 1.035 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.2721, allocations: 91.5 kB / 1.036 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.2723, allocations: 91.55 kB / 1.036 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.2723, allocations: 4 kB / 1.036 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.2725, allocations: 43.92 kB / 1.036 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.2726, allocations: 87.66 kB / 1.036 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.2727, allocations: 152.6 kB / 1.036 GB, free: 364 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.273, allocations: 263.5 kB / 1.036 GB, free: 100 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.273, allocations: 0 / 1.036 GB, free: 100 kB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.273, allocations: 0 / 1.036 GB, free: 100 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.273, allocations: 4 kB / 1.036 GB, free: 96 kB / 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.0008422/0.2739, allocations: 0.6183 MB / 1.037 GB, free: 15.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2739, allocations: 12.03 kB / 1.037 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.274, allocations: 44.38 kB / 1.037 GB, free: 15.37 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.2744, allocations: 356.3 kB / 1.037 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2744, allocations: 8.375 kB / 1.037 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.2744, allocations: 7.938 kB / 1.037 GB, free: 14.97 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.2746, allocations: 73.66 kB / 1.037 GB, free: 14.89 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.2746, allocations: 7.938 kB / 1.037 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.2747, allocations: 3.938 kB / 1.037 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2747, allocations: 0 / 1.037 GB, free: 14.88 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.836e-05/0.2748, allocations: 35.98 kB / 1.037 GB, free: 14.84 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/0.2754, allocations: 456.5 kB / 1.038 GB, free: 14.35 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.2756, allocations: 74.59 kB / 1.038 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.2757, allocations: 28.84 kB / 1.038 GB, free: 14.23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.2757, allocations: 7.938 kB / 1.038 GB, free: 14.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.2759, allocations: 75.38 kB / 1.038 GB, free: 14.14 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.2759, allocations: 0 / 1.038 GB, free: 14.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0003164/0.2762, allocations: 141 kB / 1.038 GB, free: 14 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2763, allocations: 55.34 kB / 1.038 GB, free: 13.93 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.2768, allocations: 0.541 MB / 1.039 GB, free: 13.38 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.2769, allocations: 29.7 kB / 1.039 GB, free: 13.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.277, allocations: 223.9 kB / 1.039 GB, free: 13.12 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2771, allocations: 11.89 kB / 1.039 GB, free: 13.11 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.2771, allocations: 21.72 kB / 1.039 GB, free: 13.08 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2773, allocations: 358.8 kB / 1.039 GB, free: 12.72 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2774, allocations: 47.98 kB / 1.039 GB, free: 12.68 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.2775, allocations: 84.33 kB / 1.039 GB, free: 12.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.2777, allocations: 87.59 kB / 1.039 GB, free: 12.5 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2777, allocations: 0 / 1.039 GB, free: 12.5 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003025/0.278, allocations: 193.1 kB / 1.04 GB, free: 12.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.278, allocations: 8 kB / 1.04 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.278, allocations: 3.938 kB / 1.04 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.278, allocations: 0 / 1.04 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2782, allocations: 28.17 kB / 1.04 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.2782, allocations: 4.062 kB / 1.04 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.2783, allocations: 15.91 kB / 1.04 GB, free: 12.24 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.2784, allocations: 12.09 kB / 1.04 GB, free: 12.23 MB / 0.795 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.0001767/0.2785, allocations: 187.2 kB / 1.04 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.2786, allocations: 39.44 kB / 1.04 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.765e-05/0.2787, allocations: 47.8 kB / 1.04 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.2787, allocations: 7.938 kB / 1.04 GB, free: 11.95 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2787, allocations: 4 kB / 1.04 GB, free: 11.94 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2787, allocations: 0 / 1.04 GB, free: 11.94 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.279, allocations: 301.5 kB / 1.04 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.279, allocations: 0 / 1.04 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.279, allocations: 0 / 1.04 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.279, allocations: 4 kB / 1.04 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.279, allocations: 0 / 1.04 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.279, allocations: 3.938 kB / 1.04 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.279, allocations: 0 / 1.04 GB, free: 11.59 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2792, allocations: 152.5 kB / 1.04 GB, free: 11.42 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.2794, allocations: 112.6 kB / 1.04 GB, free: 11.29 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.2794, allocations: 11.94 kB / 1.041 GB, free: 11.28 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.2795, allocations: 11.92 kB / 1.041 GB, free: 11.27 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.2795, allocations: 7.984 kB / 1.041 GB, free: 11.26 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.2796, allocations: 4 kB / 1.041 GB, free: 11.26 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003728/0.2799, allocations: 366.8 kB / 1.041 GB, free: 10.9 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2799, allocations: 0 / 1.041 GB, free: 10.9 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002698/0.2802, allocations: 48 kB / 1.041 GB, free: 10.86 MB / 0.795 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.0009567/0.2812, allocations: 423.3 kB / 1.041 GB, free: 10.59 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.2814, allocations: 91.91 kB / 1.041 GB, free: 10.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2814, allocations: 0 / 1.041 GB, free: 10.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.636e-05/0.2815, allocations: 27.98 kB / 1.041 GB, free: 10.47 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.2819, allocations: 60.61 kB / 1.041 GB, free: 10.42 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.283, allocations: 0.7939 MB / 1.042 GB, free: 9.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.2834, allocations: 0.8102 MB / 1.043 GB, free: 8.754 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.2835, allocations: 23.42 kB / 1.043 GB, free: 8.73 MB / 0.795 GB Notification: Performance of SimCode: time 3.91e-07/0.2835, allocations: 0 / 1.043 GB, free: 8.73 MB / 0.795 GB Notification: Performance of Templates: time 0.006672/0.2902, allocations: 4.137 MB / 1.047 GB, free: 4.629 MB / 0.795 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 -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