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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00101/0.00101, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008038/0.008038, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.756/2.756, allocations: 462.7 MB / 0.7364 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004072, allocations: 15.22 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3123, allocations: 159.6 MB / 1.059 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002573/0.3149, allocations: 1.901 MB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.3169, allocations: 1.319 MB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.3171, allocations: 3.938 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.3176, allocations: 175.7 kB / 1.062 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.3179, allocations: 119.5 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.3183, allocations: 123.8 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.3186, allocations: 219.1 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.3187, allocations: 40.66 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.3189, allocations: 91.5 kB / 1.063 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3191, allocations: 91.5 kB / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.3191, allocations: 7.938 kB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3192, allocations: 39.97 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.718e-05/0.3193, allocations: 83.61 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.3195, allocations: 156.7 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.3199, allocations: 334.6 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3199, allocations: 8 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3199, allocations: 4 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.3199, allocations: 0 / 1.063 GB, free: 0.8125 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.0008598/0.3208, allocations: 0.6232 MB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3208, allocations: 11.97 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.3209, allocations: 40.47 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.3214, allocations: 356.2 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.3214, allocations: 8.375 kB / 1.064 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3214, allocations: 11.94 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.3216, allocations: 73.66 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3216, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3216, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3217, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.3218, allocations: 35.98 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.3225, allocations: 464.5 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.3227, allocations: 70.61 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.3227, allocations: 28.84 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.3228, allocations: 7.938 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.323, allocations: 67.5 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.323, allocations: 3.938 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003263/0.3233, allocations: 145.1 kB / 1.065 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.3234, allocations: 59.28 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.3239, allocations: 0.5332 MB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.324, allocations: 29.7 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.3242, allocations: 228 kB / 1.066 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.3242, allocations: 11.84 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.3242, allocations: 25.7 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3244, allocations: 362.8 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.3245, allocations: 51.89 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3246, allocations: 70.55 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.3248, allocations: 88.55 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3248, allocations: 0 / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003094/0.3251, allocations: 197 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3251, allocations: 8 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3251, allocations: 0 / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.3252, allocations: 4.234 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3253, allocations: 31.88 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3253, allocations: 4 kB / 1.067 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3254, allocations: 16.02 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.3254, allocations: 4 kB / 1.067 GB, free: 12.95 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.0001917/0.3256, allocations: 191.3 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/0.3257, allocations: 43.44 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.916e-05/0.3258, allocations: 39.81 kB / 1.067 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3258, allocations: 7.938 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3258, allocations: 0 / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3258, allocations: 3.984 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.3261, allocations: 293.5 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3261, allocations: 0 / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.831e-05/0.3261, allocations: 11.92 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3261, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3261, allocations: 4 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.3261, allocations: 3.938 kB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3261, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.3264, allocations: 144.5 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-05/0.3265, allocations: 124.6 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.3265, allocations: 7.938 kB / 1.068 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.955e-05/0.3266, allocations: 7.938 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.3267, allocations: 15.97 kB / 1.068 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.3267, allocations: 4 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003907/0.3271, allocations: 366.8 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3271, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002699/0.3274, allocations: 43.91 kB / 1.068 GB, free: 11.57 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.001002/0.3284, allocations: 430.8 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.3286, allocations: 87.97 kB / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3286, allocations: 0 / 1.069 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.3287, allocations: 31.92 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.3291, allocations: 55.94 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3301, allocations: 0.7494 MB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.3306, allocations: 0.8148 MB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.048e-05/0.3307, allocations: 29.53 kB / 1.07 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.3307, allocations: 19.44 kB / 1.07 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3307, allocations: 0 / 1.07 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of Templates: time 0.006713/0.3374, allocations: 2.696 MB / 1.073 GB, free: 6.797 MB / 0.8262 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/jenkins/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