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.001467/0.001467, allocations: 113 kB / 18.94 MB, free: 2.934 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.001573/0.001573, allocations: 211.8 kB / 22.25 MB, free: 5.086 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 8.027 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.174/3.174, allocations: 0.49 GB / 0.7951 GB, free: 33.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.002077/0.002077, allocations: 63.88 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3307, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003974/0.3347, allocations: 2.225 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.3372, allocations: 1.55 MB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.3374, allocations: 7.938 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.338, allocations: 195.1 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004598/0.3384, allocations: 171.2 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.3387, allocations: 111.6 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003592/0.3391, allocations: 243 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3392, allocations: 28.58 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.3394, allocations: 107.6 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.3396, allocations: 111.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.3396, allocations: 12 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3398, allocations: 51.98 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.3399, allocations: 99.59 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.34, allocations: 138.9 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.3405, allocations: 362.2 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3405, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3405, allocations: 0 / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.3405, allocations: 0 / 1.331 GB, free: 12.51 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.0009974/0.3415, allocations: 0.6359 MB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3416, allocations: 8.031 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.3416, allocations: 42.73 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.253e-05/0.3417, allocations: 48.66 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.3421, allocations: 294.9 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3422, allocations: 12.12 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.3422, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.3424, allocations: 73.66 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.3424, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3424, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.3424, allocations: 3.984 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3425, allocations: 39.92 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.3432, allocations: 427.7 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3434, allocations: 66.61 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.346e-05/0.3435, allocations: 24.97 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3435, allocations: 3.938 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3437, allocations: 83.33 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3437, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003549/0.344, allocations: 149.2 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.344, allocations: 59.41 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.3447, allocations: 0.5418 MB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.3447, allocations: 25.7 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.3449, allocations: 224 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.345, allocations: 19.89 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.465e-05/0.345, allocations: 41.7 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3452, allocations: 354.8 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.3453, allocations: 59.88 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3454, allocations: 74.55 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3456, allocations: 85.58 kB / 1.334 GB, free: 8.934 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3456, allocations: 4 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003362/0.346, allocations: 195.8 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.346, allocations: 4 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.346, allocations: 8 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.346, allocations: 7.938 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.3461, allocations: 23.92 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3461, allocations: 4 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3463, allocations: 19.88 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.3463, allocations: 4 kB / 1.335 GB, free: 8.664 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.0002131/0.3465, allocations: 182.3 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.3466, allocations: 43.72 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.3468, allocations: 137.8 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3468, allocations: 7.938 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3468, allocations: 0 / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3468, allocations: 0 / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3471, allocations: 272.6 kB / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3471, allocations: 0 / 1.335 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.3472, allocations: 7.984 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3472, allocations: 0 / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3472, allocations: 0 / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3472, allocations: 7.938 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3472, allocations: 4 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3474, allocations: 156.7 kB / 1.335 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.3475, allocations: 39.72 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.3476, allocations: 3.984 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.785e-05/0.3476, allocations: 11.94 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.3477, allocations: 7.984 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.3477, allocations: 7.984 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004852/0.3482, allocations: 370.8 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3482, allocations: 0 / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002771/0.3485, allocations: 47.94 kB / 1.336 GB, free: 7.305 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 (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.002072/0.3505, allocations: 1.005 MB / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.3508, allocations: 87.97 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3508, allocations: 4 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.254e-05/0.3509, allocations: 31.91 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.3513, allocations: 63.8 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003976/0.3552, allocations: 3.095 MB / 1.34 GB, free: 3.062 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.3557, allocations: 0.8139 MB / 1.341 GB, free: 2.223 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.3558, allocations: 29.59 kB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.356, allocations: 123.4 kB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of SimCode: time 7.32e-07/0.356, allocations: 0 / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.3924, allocations: 7.512 MB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.14, allocations: 13.72 kB / 1.348 GB, free: 10.66 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.958094057859853]