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.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.001328/0.001328, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001471/0.001471, allocations: 211.9 kB / 22.25 MB, free: 5.121 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.599/1.599, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.939/2.939, allocations: 476.7 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: 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.002053/0.002053, allocations: 68.31 kB / 1.117 GB, free: 40.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3768, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.006703/0.3835, allocations: 2.244 MB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003862/0.3874, allocations: 1.548 MB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003322/0.3877, allocations: 3.938 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000952/0.3887, allocations: 190.9 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008344/0.3895, allocations: 171.2 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.39, allocations: 123.5 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006042/0.3906, allocations: 239.1 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.3908, allocations: 36.5 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.3912, allocations: 107.5 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.3914, allocations: 103.5 kB / 1.288 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.3915, allocations: 12 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.3917, allocations: 55.98 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.3919, allocations: 95.59 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.3921, allocations: 138.9 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009871/0.3931, allocations: 370.6 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3931, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.676e-06/0.3931, allocations: 0 / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.097e-05/0.3931, allocations: 0 / 1.289 GB, free: 6.258 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.002042/0.3952, allocations: 0.6281 MB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.3952, allocations: 12.03 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.609e-05/0.3953, allocations: 34.73 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.3955, allocations: 44.66 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007325/0.3962, allocations: 302.9 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.3962, allocations: 8.125 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.3963, allocations: 7.984 kB / 1.29 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.3965, allocations: 73.66 kB / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3965, allocations: 0 / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3966, allocations: 0 / 1.29 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3966, allocations: 4 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3967, allocations: 31.98 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3979, allocations: 443.5 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.3981, allocations: 58.69 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.3982, allocations: 24.84 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.3983, allocations: 7.938 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.3985, allocations: 75.38 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 2.355e-06/0.3985, allocations: 0 / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0005742/0.3991, allocations: 153.3 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.3991, allocations: 51.41 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009595/0.4001, allocations: 0.5379 MB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.4001, allocations: 37.64 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.4004, allocations: 224 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.4004, allocations: 15.91 kB / 1.291 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.4005, allocations: 41.66 kB / 1.291 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.4007, allocations: 358.8 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.4009, allocations: 56.12 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.4011, allocations: 76.89 kB / 1.292 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.4013, allocations: 96.06 kB / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4013, allocations: 0 / 1.292 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004923/0.4018, allocations: 205.2 kB / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.4018, allocations: 4 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4019, allocations: 0 / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.4019, allocations: 3.938 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.402, allocations: 27.92 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4021, allocations: 0 / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.4022, allocations: 19.88 kB / 1.292 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.4023, allocations: 12.03 kB / 1.292 GB, free: 2.422 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.0002688/0.4026, allocations: 177.8 kB / 1.292 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.553e-05/0.4026, allocations: 39.72 kB / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.403, allocations: 133.5 kB / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.403, allocations: 3.938 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.403, allocations: 4 kB / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.403, allocations: 0 / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.4034, allocations: 272.6 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4034, allocations: 7.984 kB / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.4034, allocations: 4 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4035, allocations: 0 / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4035, allocations: 4.094 kB / 1.293 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4035, allocations: 7.875 kB / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4035, allocations: 0 / 1.293 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.4038, allocations: 156.8 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4039, allocations: 39.72 kB / 1.293 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.745e-05/0.404, allocations: 11.92 kB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.4041, allocations: 8.062 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.4042, allocations: 15.98 kB / 1.293 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.4042, allocations: 7.984 kB / 1.293 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005866/0.4048, allocations: 362.8 kB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4048, allocations: 4 kB / 1.293 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004509/0.4052, allocations: 39.94 kB / 1.293 GB, free: 1.07 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 (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.00265/0.4079, allocations: 1.001 MB / 1.294 GB, free: 200 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003596/0.4082, allocations: 87.91 kB / 1.295 GB, free: 112 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4082, allocations: 0 / 1.295 GB, free: 112 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.4083, allocations: 31.91 kB / 1.295 GB, free: 80 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.4089, allocations: 82.56 kB / 1.295 GB, free: 12 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005493/0.4144, allocations: 3.093 MB / 1.298 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/0.415, allocations: 0.81 MB / 1.298 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001503/0.4152, allocations: 33.41 kB / 1.298 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.4154, allocations: 119.4 kB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of SimCode: time 1.242e-06/0.4154, allocations: 3.938 kB / 1.299 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04581/0.4612, allocations: 7.512 MB / 1.306 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.03, allocations: 5.562 kB / 1.306 GB, free: 4.434 MB / 0.9981 GB " [Timeout remaining time 287] (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 --stepSize=0.36 --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/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: 19.287862790981308]