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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 101.3 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.232/3.232, allocations: 0.505 GB / 0.8066 GB, free: 23.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 65.89 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3474, allocations: 180.2 MB / 1.348 GB, free: 9.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004195/0.3516, allocations: 2.222 MB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.3541, allocations: 1.546 MB / 1.351 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.3543, allocations: 7.938 kB / 1.351 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.3549, allocations: 191.1 kB / 1.352 GB, free: 5.98 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.3554, allocations: 167.2 kB / 1.352 GB, free: 5.816 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003353/0.3558, allocations: 111.6 kB / 1.352 GB, free: 5.707 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.3561, allocations: 239.1 kB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.3563, allocations: 28.39 kB / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.3565, allocations: 115.4 kB / 1.352 GB, free: 5.328 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.3566, allocations: 103.5 kB / 1.352 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.3567, allocations: 12 kB / 1.352 GB, free: 5.215 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.3568, allocations: 51.92 kB / 1.352 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3569, allocations: 95.61 kB / 1.353 GB, free: 5.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3571, allocations: 139 kB / 1.353 GB, free: 4.934 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.3576, allocations: 366.1 kB / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3576, allocations: 0 / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3576, allocations: 0 / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.3576, allocations: 0 / 1.353 GB, free: 4.574 MB / 1.045 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.00108/0.3586, allocations: 0.7034 MB / 1.354 GB, free: 3.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3587, allocations: 15.98 kB / 1.354 GB, free: 3.805 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.3587, allocations: 34.75 kB / 1.354 GB, free: 3.762 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.983e-05/0.3588, allocations: 48.61 kB / 1.354 GB, free: 3.715 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.3593, allocations: 368.6 kB / 1.354 GB, free: 3.312 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3593, allocations: 8.125 kB / 1.354 GB, free: 3.305 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3593, allocations: 8 kB / 1.354 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.3595, allocations: 69.66 kB / 1.354 GB, free: 3.223 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3595, allocations: 4 kB / 1.354 GB, free: 3.219 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3595, allocations: 8 kB / 1.354 GB, free: 3.211 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3595, allocations: 3.984 kB / 1.354 GB, free: 3.207 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.3596, allocations: 35.98 kB / 1.354 GB, free: 3.172 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/0.3603, allocations: 456.5 kB / 1.355 GB, free: 2.676 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.3605, allocations: 62.67 kB / 1.355 GB, free: 2.605 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.3606, allocations: 28.84 kB / 1.355 GB, free: 2.574 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3606, allocations: 0 / 1.355 GB, free: 2.574 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.3608, allocations: 83.31 kB / 1.355 GB, free: 2.48 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.3608, allocations: 3.938 kB / 1.355 GB, free: 2.477 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0003614/0.3611, allocations: 141.5 kB / 1.355 GB, free: 2.332 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.3612, allocations: 55.41 kB / 1.355 GB, free: 2.266 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/0.3618, allocations: 0.5495 MB / 1.356 GB, free: 1.703 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3618, allocations: 25.7 kB / 1.356 GB, free: 1.672 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.362, allocations: 224 kB / 1.356 GB, free: 1.449 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.3621, allocations: 19.95 kB / 1.356 GB, free: 1.43 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.614e-05/0.3621, allocations: 45.64 kB / 1.356 GB, free: 1.379 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3623, allocations: 358.8 kB / 1.356 GB, free: 1.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.3624, allocations: 52.05 kB / 1.356 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.3626, allocations: 74.55 kB / 1.356 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.3627, allocations: 89.69 kB / 1.356 GB, free: 0.793 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3627, allocations: 0 / 1.356 GB, free: 0.793 MB / 1.045 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003497/0.3631, allocations: 203.5 kB / 1.357 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3631, allocations: 6.188 kB / 1.357 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.3631, allocations: 4.062 kB / 1.357 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3631, allocations: 7.938 kB / 1.357 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3633, allocations: 19.98 kB / 1.357 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3633, allocations: 7.938 kB / 1.357 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3634, allocations: 15.89 kB / 1.357 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.3634, allocations: 4 kB / 1.357 GB, free: 0.5273 MB / 1.045 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.0001903/0.3636, allocations: 188.8 kB / 1.357 GB, free: 344 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.3636, allocations: 43.72 kB / 1.357 GB, free: 300 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.3637, allocations: 47.91 kB / 1.357 GB, free: 252 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3637, allocations: 3.938 kB / 1.357 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3637, allocations: 0 / 1.357 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3637, allocations: 0 / 1.357 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.364, allocations: 301.5 kB / 1.357 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.364, allocations: 0 / 1.357 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.3641, allocations: 4 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3641, allocations: 0 / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3641, allocations: 8 kB / 1.357 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3641, allocations: 3.938 kB / 1.357 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3641, allocations: 3.938 kB / 1.357 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3643, allocations: 148.8 kB / 1.357 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-05/0.3644, allocations: 120.8 kB / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.3644, allocations: 0 / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.3645, allocations: 11.92 kB / 1.358 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.3646, allocations: 15.98 kB / 1.358 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.3646, allocations: 4.062 kB / 1.358 GB, free: 15.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004088/0.365, allocations: 366.8 kB / 1.358 GB, free: 15.19 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.365, allocations: 4 kB / 1.358 GB, free: 15.19 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002774/0.3653, allocations: 51.86 kB / 1.358 GB, free: 15.14 MB / 1.061 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.002085/0.3674, allocations: 1.002 MB / 1.359 GB, free: 14.26 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.3676, allocations: 95.89 kB / 1.359 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3676, allocations: 0 / 1.359 GB, free: 14.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.3677, allocations: 16 kB / 1.359 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.3681, allocations: 74.19 kB / 1.359 GB, free: 14.08 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.372, allocations: 3.109 MB / 1.362 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.3725, allocations: 0.8138 MB / 1.363 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.998e-05/0.3726, allocations: 25.53 kB / 1.363 GB, free: 10.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.3727, allocations: 115.4 kB / 1.363 GB, free: 9.902 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.3727, allocations: 3.938 kB / 1.363 GB, free: 9.898 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.405, allocations: 7.388 MB / 1.37 GB, free: 2.648 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.829/9.234, allocations: 1.547 kB / 1.37 GB, free: 2.648 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv --start-time 0 --stop-time 900 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv","/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) [Timeout 300] "Error: Could not read variable per.TWatMax in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable per.TWatMax from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! Error: Could not read variable assWatTem.assMes.u in file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv. Warning: Get data of variable assWatTem.assMes.u from file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.108892502030358]