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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 476.7 MB / 0.7629 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 59.91 kB / 1.107 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8492/0.8515, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003172/0.8546, allocations: 2.218 MB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.8563, allocations: 1.398 MB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.8564, allocations: 2.188 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.857, allocations: 194.8 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.8572, allocations: 134.2 kB / 1.275 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.8575, allocations: 145.4 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.8578, allocations: 227.2 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.8579, allocations: 28.08 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.8581, allocations: 101.5 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.8582, allocations: 100.5 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.8582, allocations: 10.84 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.8584, allocations: 61.06 kB / 1.276 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.561e-05/0.8585, allocations: 96.59 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.284e-05/0.8586, allocations: 129.8 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003859/0.8589, allocations: 358.7 kB / 1.277 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.859, allocations: 0 / 1.277 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.859, allocations: 0 / 1.277 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.859, allocations: 0.875 kB / 1.277 GB, free: 4.445 MB / 0.9981 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.0007911/0.8598, allocations: 0.6987 MB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.8598, allocations: 9.344 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.8598, allocations: 37.86 kB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.8599, allocations: 44.62 kB / 1.277 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.8602, allocations: 361.8 kB / 1.278 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.8602, allocations: 6.219 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.8603, allocations: 5.766 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.8604, allocations: 83 kB / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.8604, allocations: 0 / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.8605, allocations: 4.766 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.8605, allocations: 1.406 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.8606, allocations: 39.97 kB / 1.278 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.8611, allocations: 458.3 kB / 1.278 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.8613, allocations: 61.55 kB / 1.278 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.8613, allocations: 25.91 kB / 1.278 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.8614, allocations: 2.266 kB / 1.278 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.8615, allocations: 75.3 kB / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.8615, allocations: 0 / 1.278 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003167/0.8618, allocations: 148.7 kB / 1.279 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.8619, allocations: 52.38 kB / 1.279 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005321/0.8624, allocations: 0.5372 MB / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.8624, allocations: 35.3 kB / 1.279 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.8625, allocations: 216.7 kB / 1.279 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.8626, allocations: 22.05 kB / 1.279 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.8626, allocations: 41.05 kB / 1.279 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.221e-05/0.8627, allocations: 358.5 kB / 1.28 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.8628, allocations: 45.22 kB / 1.28 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.8629, allocations: 80.33 kB / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.8631, allocations: 92.98 kB / 1.28 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8631, allocations: 0.9375 kB / 1.28 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002976/0.8634, allocations: 201.4 kB / 1.28 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.8634, allocations: 5.469 kB / 1.28 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.8634, allocations: 0.9062 kB / 1.28 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.8634, allocations: 5.625 kB / 1.28 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.8635, allocations: 22.36 kB / 1.28 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.8635, allocations: 5.203 kB / 1.28 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.8636, allocations: 20.33 kB / 1.28 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.8636, allocations: 5.672 kB / 1.28 GB, free: 1.73 MB / 0.9981 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.0001554/0.8638, allocations: 183.9 kB / 1.28 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.8639, allocations: 43.7 kB / 1.28 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.8641, allocations: 128 kB / 1.281 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.8641, allocations: 5.703 kB / 1.281 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8641, allocations: 4.719 kB / 1.281 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.8641, allocations: 0 / 1.281 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.8644, allocations: 300.6 kB / 1.281 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8644, allocations: 0 / 1.281 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.492e-05/0.8644, allocations: 8.906 kB / 1.281 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8644, allocations: 3.938 kB / 1.281 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.8644, allocations: 1.844 kB / 1.281 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8644, allocations: 4.531 kB / 1.281 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8644, allocations: 1.594 kB / 1.281 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.8646, allocations: 149.2 kB / 1.281 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.943e-05/0.8647, allocations: 118.9 kB / 1.281 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.8647, allocations: 1.969 kB / 1.281 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.8648, allocations: 10.75 kB / 1.281 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.8649, allocations: 12.14 kB / 1.281 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.8649, allocations: 4.266 kB / 1.281 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003714/0.8653, allocations: 362.9 kB / 1.282 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8653, allocations: 0 / 1.282 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002587/0.8655, allocations: 47.47 kB / 1.282 GB, free: 0.8398 MB / 0.9981 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * 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.8672, allocations: 1.011 MB / 1.283 GB, free: 100 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.8674, allocations: 90.42 kB / 1.283 GB, free: 72 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8675, allocations: 64 / 1.283 GB, free: 72 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/0.8675, allocations: 30.7 kB / 1.283 GB, free: 60 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.8679, allocations: 62.81 kB / 1.283 GB, free: 32 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.8715, allocations: 3.077 MB / 1.286 GB, free: 14.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.872, allocations: 0.8147 MB / 1.287 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.666e-05/0.8721, allocations: 26.27 kB / 1.287 GB, free: 13.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.8723, allocations: 116 kB / 1.287 GB, free: 13.43 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.8723, allocations: 0 / 1.287 GB, free: 13.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.9048, allocations: 7.27 MB / 1.294 GB, free: 12.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.556/9.46, allocations: 4.172 kB / 1.294 GB, free: 12.1 MB / 1.014 GB " [Timeout remaining time 290] (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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.267789547011489]