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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_11_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.004571/0.004571, allocations: 100.9 kB / 15.73 MB, free: 6 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.001985/0.001985, allocations: 189.6 kB / 16.67 MB, free: 5.934 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.466/2.466, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 67.83 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2492, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003069/0.2523, allocations: 2.191 MB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.2541, allocations: 1.373 MB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.2542, allocations: 0 / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.2547, allocations: 195.4 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.2549, allocations: 123.4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.2552, allocations: 147.5 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.2555, allocations: 231.1 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.2556, allocations: 36.39 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.2558, allocations: 95.56 kB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.2559, allocations: 103.4 kB / 1.225 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.2559, allocations: 12 kB / 1.225 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.2561, allocations: 59.91 kB / 1.225 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.2562, allocations: 87.67 kB / 1.225 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2563, allocations: 134.9 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.2567, allocations: 358.2 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.2567, allocations: 0 / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2567, allocations: 0 / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2567, allocations: 4 kB / 1.225 GB, free: 9.125 MB / 0.9825 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.0008166/0.2575, allocations: 0.6956 MB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.2575, allocations: 12.03 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.2576, allocations: 38.73 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.2577, allocations: 44.66 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.258, allocations: 360.7 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2581, allocations: 8.125 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.2581, allocations: 4 kB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.2582, allocations: 81.66 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.2583, allocations: 0 / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2583, allocations: 0 / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2583, allocations: 3.984 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.543e-05/0.2584, allocations: 43.91 kB / 1.226 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.259, allocations: 452.5 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.2591, allocations: 70.62 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.2592, allocations: 28.84 kB / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.2592, allocations: 0 / 1.227 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.2594, allocations: 75.38 kB / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2594, allocations: 0 / 1.227 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0003016/0.2597, allocations: 157.2 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.2598, allocations: 55.41 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.2603, allocations: 0.5294 MB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.2603, allocations: 29.7 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.2605, allocations: 224 kB / 1.228 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.2605, allocations: 19.89 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.536e-05/0.2606, allocations: 37.7 kB / 1.228 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2607, allocations: 358.8 kB / 1.228 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.062e-05/0.2608, allocations: 47.98 kB / 1.228 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.261, allocations: 80.11 kB / 1.228 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2611, allocations: 83.81 kB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2611, allocations: 0 / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002888/0.2614, allocations: 201.2 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.2614, allocations: 4 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2614, allocations: 8 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2615, allocations: 7.938 kB / 1.229 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.2616, allocations: 23.92 kB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2616, allocations: 3.984 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.2617, allocations: 15.98 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.2617, allocations: 4 kB / 1.229 GB, free: 5.121 MB / 0.9825 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.0001623/0.2619, allocations: 186.9 kB / 1.229 GB, free: 4.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.2619, allocations: 39.72 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.262, allocations: 43.81 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.262, allocations: 3.938 kB / 1.229 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.262, allocations: 4 kB / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.262, allocations: 3.984 kB / 1.229 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.2623, allocations: 293.6 kB / 1.229 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.2623, allocations: 7.938 kB / 1.229 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.2623, allocations: 3.938 kB / 1.229 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.2623, allocations: 7.984 kB / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.2623, allocations: 0 / 1.229 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2623, allocations: 3.938 kB / 1.229 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2623, allocations: 4 kB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.2626, allocations: 152.8 kB / 1.23 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.2626, allocations: 112.8 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.705e-05/0.2627, allocations: 12.3 kB / 1.23 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.2628, allocations: 7.938 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.2628, allocations: 11.98 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.2628, allocations: 4 kB / 1.23 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003667/0.2632, allocations: 370.8 kB / 1.23 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2632, allocations: 0 / 1.23 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002223/0.2634, allocations: 43.94 kB / 1.23 GB, free: 3.734 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.0017/0.2651, allocations: 1.003 MB / 1.231 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.2654, allocations: 95.91 kB / 1.231 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2654, allocations: 3.938 kB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.762e-05/0.2654, allocations: 27.98 kB / 1.231 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.2658, allocations: 64.47 kB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003246/0.269, allocations: 3.069 MB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.2694, allocations: 0.8145 MB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.734e-05/0.2695, allocations: 25.53 kB / 1.235 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.2697, allocations: 115.4 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.2697, allocations: 0 / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.576/1.845, allocations: 7.274 MB / 1.242 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/17.13, allocations: 9.469 kB / 1.242 GB, free: 7.457 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > 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/jenkins1/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