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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004996/0.004996, allocations: 101.7 kB / 15.73 MB, free: 6.031 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.001061/0.001061, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.91 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2491, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003277/0.2524, allocations: 2.176 MB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.2542, allocations: 1.366 MB / 1.211 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.2544, allocations: 11.94 kB / 1.211 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005828/0.255, allocations: 191.4 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.2553, allocations: 119.4 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003462/0.2557, allocations: 144.7 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.2559, allocations: 231.1 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2561, allocations: 44.61 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.2562, allocations: 99.5 kB / 1.212 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.2563, allocations: 91.55 kB / 1.212 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.2564, allocations: 12 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.2565, allocations: 63.91 kB / 1.212 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.2566, allocations: 87.62 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2567, allocations: 135 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.2571, allocations: 358.7 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2571, allocations: 0 / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.906e-06/0.2571, allocations: 0 / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.2571, allocations: 3.938 kB / 1.212 GB, free: 4.992 MB / 0.9669 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.0008809/0.258, allocations: 0.6745 MB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2581, allocations: 16.62 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.2581, allocations: 34.75 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.93e-05/0.2582, allocations: 40.47 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.2586, allocations: 356.3 kB / 1.213 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2586, allocations: 12.12 kB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.2586, allocations: 4 kB / 1.213 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.2588, allocations: 77.59 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.2588, allocations: 3.984 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2588, allocations: 7.938 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2588, allocations: 8 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.2589, allocations: 35.97 kB / 1.214 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.2596, allocations: 452.4 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.2598, allocations: 66.67 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/0.2598, allocations: 32.84 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.2599, allocations: 0 / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.26, allocations: 79.38 kB / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.26, allocations: 3.938 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0003142/0.2603, allocations: 141 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.2604, allocations: 51.41 kB / 1.214 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.2609, allocations: 0.541 MB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2609, allocations: 29.7 kB / 1.215 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.2611, allocations: 219.9 kB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.2611, allocations: 15.89 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.2612, allocations: 45.61 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2613, allocations: 350.8 kB / 1.215 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.766e-05/0.2614, allocations: 51.97 kB / 1.216 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2615, allocations: 80.27 kB / 1.216 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.2616, allocations: 85.64 kB / 1.216 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2617, allocations: 0 / 1.216 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002868/0.262, allocations: 199.2 kB / 1.216 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.262, allocations: 4 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.262, allocations: 4 kB / 1.216 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.262, allocations: 3.938 kB / 1.216 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2621, allocations: 28.05 kB / 1.216 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2621, allocations: 0 / 1.216 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2622, allocations: 11.98 kB / 1.216 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.2623, allocations: 8 kB / 1.216 GB, free: 1.02 MB / 0.9669 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.0001511/0.2624, allocations: 181.7 kB / 1.216 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/0.2625, allocations: 43.44 kB / 1.216 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.355e-05/0.2625, allocations: 47.78 kB / 1.216 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2626, allocations: 3.938 kB / 1.216 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2626, allocations: 4 kB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2626, allocations: 0 / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.2628, allocations: 301.5 kB / 1.216 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2628, allocations: 368 / 1.216 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.2628, allocations: 7.938 kB / 1.216 GB, free: 388 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.2628, allocations: 4 kB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.2629, allocations: 3.984 kB / 1.216 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.2629, allocations: 3.938 kB / 1.216 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2629, allocations: 0 / 1.216 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.2631, allocations: 160.4 kB / 1.217 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.2632, allocations: 112.5 kB / 1.217 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.2632, allocations: 8 kB / 1.217 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.2633, allocations: 11.92 kB / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.2634, allocations: 7.984 kB / 1.217 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2634, allocations: 8 kB / 1.217 GB, free: 28 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003429/0.2637, allocations: 362.9 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2637, allocations: 0 / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002539/0.264, allocations: 47.98 kB / 1.217 GB, free: 15.62 MB / 0.9825 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.001217/0.2652, allocations: 1.002 MB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.2655, allocations: 91.95 kB / 1.218 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2655, allocations: 64 / 1.218 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.2656, allocations: 39.86 kB / 1.218 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.2659, allocations: 53.88 kB / 1.218 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/0.2689, allocations: 3.052 MB / 1.221 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.2692, allocations: 0.8138 MB / 1.222 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.569e-05/0.2693, allocations: 25.53 kB / 1.222 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.2695, allocations: 115.4 kB / 1.222 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.2695, allocations: 0 / 1.222 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.819/2.088, allocations: 7.273 MB / 1.229 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.46/19.55, allocations: 0 / 1.229 GB, free: 3.375 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > 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