Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001343/0.001343, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001649/0.001649, allocations: 218.6 kB / 22.25 MB, free: 5.258 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.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.11/3.11, allocations: 0.49 GB / 0.7951 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_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.002007/0.002007, allocations: 68.34 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.347, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004074/0.3511, allocations: 2.147 MB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00239/0.3535, allocations: 1.428 MB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3536, allocations: 7.938 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005783/0.3542, allocations: 187.1 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.3546, allocations: 175.2 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.3548, allocations: 111.6 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.3552, allocations: 243.1 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3553, allocations: 28.58 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.3554, allocations: 95.58 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.3556, allocations: 111.4 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.3556, allocations: 12 kB / 1.33 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.3558, allocations: 51.97 kB / 1.33 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3559, allocations: 95.67 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.356, allocations: 107.1 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.3565, allocations: 370.2 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3565, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3565, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.3565, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 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.0009786/0.3574, allocations: 0.628 MB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3575, allocations: 15.97 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.3575, allocations: 34.73 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.469e-05/0.3576, allocations: 44.66 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.3581, allocations: 298.9 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3581, allocations: 12.12 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3581, allocations: 11.97 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.3583, allocations: 103.3 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3583, allocations: 4 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3583, allocations: 4 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3583, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.3585, allocations: 39.92 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007171/0.3592, allocations: 411.7 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.3594, allocations: 74.61 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.3594, allocations: 24.84 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.3595, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.3597, allocations: 109.1 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3597, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003878/0.36, allocations: 161.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.3601, allocations: 51.41 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006429/0.3607, allocations: 0.5418 MB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3607, allocations: 29.7 kB / 1.333 GB, free: 9.598 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.3609, allocations: 232 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.361, allocations: 15.91 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.361, allocations: 41.66 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.3612, allocations: 358.8 kB / 1.334 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3613, allocations: 51.97 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3615, allocations: 106 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.3617, allocations: 88.31 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3617, allocations: 0 / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003464/0.362, allocations: 205.3 kB / 1.334 GB, free: 8.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.362, allocations: 4 kB / 1.334 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.362, allocations: 0 / 1.334 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.362, allocations: 7.938 kB / 1.334 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3622, allocations: 27.92 kB / 1.334 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3622, allocations: 4 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.3623, allocations: 11.94 kB / 1.334 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.3623, allocations: 4 kB / 1.334 GB, free: 8.422 MB / 1.029 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.0001939/0.3625, allocations: 182.3 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.3626, allocations: 55.67 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.3629, allocations: 137.6 kB / 1.335 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3629, allocations: 3.938 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3629, allocations: 0 / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3629, allocations: 4.047 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.3631, allocations: 268.5 kB / 1.335 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3631, allocations: 4 kB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.111e-05/0.3632, allocations: 8 kB / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3632, allocations: 0 / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3632, allocations: 0 / 1.335 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3632, allocations: 7.938 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3632, allocations: 256 / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.3635, allocations: 168.7 kB / 1.335 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.3635, allocations: 35.72 kB / 1.335 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.3636, allocations: 12 kB / 1.335 GB, free: 7.473 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/0.3637, allocations: 15.91 kB / 1.335 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.3637, allocations: 7.984 kB / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3637, allocations: 0 / 1.335 GB, free: 7.449 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004343/0.3642, allocations: 374.8 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3642, allocations: 0 / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002669/0.3645, allocations: 43.94 kB / 1.336 GB, free: 7.043 MB / 1.029 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 (7): * Single equations (assignments): 5 * 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.002189/0.3666, allocations: 1.039 MB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.3669, allocations: 99.81 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3669, allocations: 0 / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.367, allocations: 31.98 kB / 1.337 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.3674, allocations: 60.86 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.3714, allocations: 3.125 MB / 1.34 GB, free: 2.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3716, allocations: 208.4 kB / 1.34 GB, free: 2.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.3717, allocations: 33.77 kB / 1.34 GB, free: 2.504 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.3719, allocations: 115.4 kB / 1.34 GB, free: 2.395 MB / 1.029 GB Notification: Performance of SimCode: time 7.72e-07/0.3719, allocations: 4 kB / 1.34 GB, free: 2.391 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03565/0.4075, allocations: 8.189 MB / 1.348 GB, free: 10.3 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.76, allocations: 2.062 kB / 1.348 GB, free: 10.3 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.430187474994455]