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: "" <> 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.0009997/0.0009995, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.007803/0.007803, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.301/1.301, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.477/2.477, allocations: 462.7 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 14.97 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2562, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00225/0.2584, allocations: 1.893 MB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.2602, allocations: 1.327 MB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.362e-05/0.2604, allocations: 3.938 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004793/0.2608, allocations: 179.7 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.2611, allocations: 111.5 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.2614, allocations: 123.8 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.2617, allocations: 223.1 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.2618, allocations: 40.61 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2619, allocations: 87.5 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.2621, allocations: 99.48 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.2621, allocations: 4 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.2622, allocations: 43.98 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.2623, allocations: 91.59 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.2624, allocations: 148.7 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.2628, allocations: 334.6 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2628, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2628, allocations: 0 / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2628, allocations: 0 / 1.063 GB, free: 248 kB / 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.0007829/0.2636, allocations: 0.6261 MB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2636, allocations: 15.97 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.109e-05/0.2637, allocations: 42.67 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.2638, allocations: 44.38 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.2641, allocations: 348.4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.2642, allocations: 4.125 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.2642, allocations: 8 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.2643, allocations: 73.66 kB / 1.064 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.2644, allocations: 4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2644, allocations: 4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2644, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.441e-05/0.2645, allocations: 43.91 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.2651, allocations: 452.5 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.2653, allocations: 78.59 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.2653, allocations: 24.97 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2654, allocations: 3.938 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001387/0.2655, allocations: 79.38 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.2655, allocations: 4 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002938/0.2658, allocations: 149 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.2659, allocations: 55.41 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.2664, allocations: 0.5293 MB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.2665, allocations: 29.7 kB / 1.066 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.2666, allocations: 223.9 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.2667, allocations: 19.8 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.2667, allocations: 21.7 kB / 1.066 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2668, allocations: 358.8 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-05/0.2669, allocations: 51.97 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.267, allocations: 76.58 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.2672, allocations: 84.03 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2672, allocations: 7.938 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002853/0.2675, allocations: 201.1 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2675, allocations: 4 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2675, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2675, allocations: 3.938 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.2676, allocations: 27.92 kB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2677, allocations: 0 / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.2678, allocations: 15.98 kB / 1.067 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2678, allocations: 8 kB / 1.067 GB, free: 12.32 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.0001873/0.268, allocations: 178.1 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.268, allocations: 43.44 kB / 1.067 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.2682, allocations: 51.73 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.2682, allocations: 3.938 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2682, allocations: 4 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2682, allocations: 0 / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.2685, allocations: 297.5 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2685, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.139e-05/0.2685, allocations: 4 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2685, allocations: 0 / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.2685, allocations: 4 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2685, allocations: 3.938 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2685, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.2687, allocations: 156.5 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.16e-05/0.2688, allocations: 116.6 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.2689, allocations: 4 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.269, allocations: 11.92 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.269, allocations: 15.98 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.269, allocations: 3.938 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003406/0.2694, allocations: 362.8 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2694, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002416/0.2696, allocations: 51.89 kB / 1.068 GB, free: 10.94 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.001268/0.2709, allocations: 1.005 MB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002016/0.2711, allocations: 95.89 kB / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2711, allocations: 0 / 1.069 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/0.2712, allocations: 27.98 kB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.2715, allocations: 52.27 kB / 1.069 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.2748, allocations: 3.198 MB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.2752, allocations: 0.8147 MB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.626e-05/0.2753, allocations: 29.53 kB / 1.073 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.2754, allocations: 111.4 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2754, allocations: 3.938 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5276/0.803, allocations: 6.74 MB / 1.08 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.8033, allocations: 270.9 kB / 1.08 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.955, allocations: 0 / 1.08 GB, free: 14.76 MB / 0.8419 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