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.002159/0.002159, allocations: 108 kB / 15.6 MB, free: 132 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.002097/0.002097, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.213/1.213, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.384/2.384, allocations: 469.8 MB / 0.7424 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 71.78 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2335, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003178/0.2367, allocations: 2.177 MB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.2385, allocations: 1.377 MB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.2386, allocations: 4 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004617/0.2391, allocations: 187.6 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.2393, allocations: 123.4 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.2396, allocations: 148.8 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.2399, allocations: 227.1 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.24, allocations: 48.59 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2401, allocations: 95.56 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.2403, allocations: 91.5 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.2403, allocations: 12 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2404, allocations: 55.97 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.2405, allocations: 95.59 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.2406, allocations: 138.9 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.241, allocations: 342.7 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.241, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.715e-06/0.241, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.241, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 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.0007944/0.2418, allocations: 0.6686 MB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.2418, allocations: 12.03 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.2419, allocations: 38.73 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.2419, allocations: 48.31 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.2423, allocations: 360.2 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2423, allocations: 8.125 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.2424, allocations: 4 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.2425, allocations: 81.59 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2425, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.2425, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.2425, allocations: 0 / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.012e-05/0.2426, allocations: 43.91 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.2432, allocations: 464.5 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.2434, allocations: 62.67 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.2435, allocations: 24.86 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.2435, allocations: 7.984 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.2436, allocations: 83.31 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 2.875e-06/0.2437, allocations: 112 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002892/0.244, allocations: 149 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.244, allocations: 51.41 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005189/0.2445, allocations: 0.5294 MB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.2445, allocations: 33.7 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.2447, allocations: 215.9 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.2447, allocations: 23.73 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.2448, allocations: 41.7 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2449, allocations: 358.8 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.05e-05/0.245, allocations: 43.98 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.2452, allocations: 78.7 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.2453, allocations: 87.14 kB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2453, allocations: 4 kB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002785/0.2456, allocations: 195.2 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.2456, allocations: 4 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.2456, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2456, allocations: 7.938 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.2457, allocations: 19.98 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2458, allocations: 7.938 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.771e-05/0.2459, allocations: 19.92 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2459, allocations: 4 kB / 1.073 GB, free: 5.117 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.0001637/0.2461, allocations: 185.8 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.2461, allocations: 43.44 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/0.2462, allocations: 43.8 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2462, allocations: 7.938 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2462, allocations: 0 / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2462, allocations: 3.984 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.2464, allocations: 293.5 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2464, allocations: 0 / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.2465, allocations: 3.984 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.2465, allocations: 4 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2465, allocations: 4 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.2465, allocations: 3.938 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2465, allocations: 3.938 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.2467, allocations: 148.5 kB / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.2468, allocations: 116.6 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.2468, allocations: 11.92 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.2469, allocations: 11.88 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.2469, allocations: 11.98 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.247, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003532/0.2473, allocations: 370.8 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2473, allocations: 0 / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002253/0.2476, allocations: 40 kB / 1.074 GB, free: 3.738 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.001668/0.2492, allocations: 1.004 MB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.2494, allocations: 95.91 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.2495, allocations: 0 / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.2495, allocations: 28.05 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.2498, allocations: 65.19 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.253, allocations: 3.111 MB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.2533, allocations: 0.8138 MB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.187e-05/0.2534, allocations: 21.55 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.2535, allocations: 111.4 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2536, allocations: 0 / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.496/6.75, allocations: 7.155 MB / 1.086 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/18.68, allocations: 7.812 kB / 1.086 GB, free: 7.527 MB / 0.8419 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