Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001578/0.001578, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001973/0.001973, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.568/1.568, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 443.5 MB / 0.7287 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 71.89 kB / 1.056 GB, free: 2.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3195, allocations: 160.7 MB / 1.213 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003773/0.3233, allocations: 2.198 MB / 1.215 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3254, allocations: 1.382 MB / 1.216 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.3256, allocations: 11.94 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.3262, allocations: 179.4 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003362/0.3265, allocations: 135.4 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.3269, allocations: 143.5 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.3272, allocations: 231.1 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.3274, allocations: 32.39 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.3275, allocations: 107.5 kB / 1.217 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.3277, allocations: 95.55 kB / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.914e-05/0.3277, allocations: 8 kB / 1.217 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.3279, allocations: 59.91 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.328, allocations: 91.66 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.3281, allocations: 134.9 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.3286, allocations: 362.2 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3286, allocations: 0 / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3286, allocations: 0 / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3286, allocations: 4 kB / 1.218 GB, free: 12.26 MB / 0.9669 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.001055/0.3296, allocations: 0.6918 MB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3297, allocations: 11.97 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.3297, allocations: 42.73 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.49e-05/0.3298, allocations: 44.66 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.3303, allocations: 348.8 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.3303, allocations: 16.06 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.3303, allocations: 8 kB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3305, allocations: 77.59 kB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3305, allocations: 4 kB / 1.219 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3305, allocations: 3.984 kB / 1.219 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3305, allocations: 0 / 1.219 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3306, allocations: 35.98 kB / 1.219 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007293/0.3314, allocations: 460.5 kB / 1.22 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3316, allocations: 62.67 kB / 1.22 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.612e-05/0.3316, allocations: 24.86 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.3316, allocations: 112 / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.3318, allocations: 87.25 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 3.226e-06/0.3318, allocations: 7.984 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0003596/0.3322, allocations: 145.3 kB / 1.22 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3322, allocations: 55.41 kB / 1.22 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000616/0.3328, allocations: 0.5332 MB / 1.221 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.3329, allocations: 29.7 kB / 1.221 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.3331, allocations: 220 kB / 1.221 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.3331, allocations: 15.91 kB / 1.221 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.3332, allocations: 37.7 kB / 1.221 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3333, allocations: 362.8 kB / 1.221 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.3334, allocations: 43.98 kB / 1.221 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3336, allocations: 88.73 kB / 1.221 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.3337, allocations: 91.55 kB / 1.221 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3337, allocations: 0 / 1.221 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003269/0.3341, allocations: 197.3 kB / 1.222 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3341, allocations: 4 kB / 1.222 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3341, allocations: 0 / 1.222 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.3341, allocations: 11.92 kB / 1.222 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.3342, allocations: 16 kB / 1.222 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3342, allocations: 0 / 1.222 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.3344, allocations: 23.88 kB / 1.222 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.3344, allocations: 4 kB / 1.222 GB, free: 8.258 MB / 0.9669 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.0001921/0.3346, allocations: 193.8 kB / 1.222 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.3346, allocations: 39.72 kB / 1.222 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.3347, allocations: 39.81 kB / 1.222 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.3347, allocations: 3.938 kB / 1.222 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3347, allocations: 4 kB / 1.222 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3347, allocations: 3.984 kB / 1.222 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.335, allocations: 293.5 kB / 1.222 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.335, allocations: 0 / 1.222 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.335, allocations: 7.984 kB / 1.222 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.335, allocations: 4 kB / 1.222 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.335, allocations: 0 / 1.222 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.335, allocations: 7.938 kB / 1.222 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.335, allocations: 0 / 1.222 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.3353, allocations: 161 kB / 1.222 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3354, allocations: 120.8 kB / 1.222 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.3355, allocations: 4 kB / 1.222 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.3355, allocations: 7.938 kB / 1.222 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.3356, allocations: 11.98 kB / 1.222 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.3356, allocations: 4 kB / 1.222 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003991/0.336, allocations: 366.8 kB / 1.223 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.336, allocations: 0 / 1.223 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002657/0.3363, allocations: 47.94 kB / 1.223 GB, free: 6.867 MB / 0.9669 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.001938/0.3382, allocations: 1.01 MB / 1.224 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.3385, allocations: 83.97 kB / 1.224 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3385, allocations: 3.938 kB / 1.224 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.937e-05/0.3385, allocations: 23.98 kB / 1.224 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3389, allocations: 52.72 kB / 1.224 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.3427, allocations: 3.079 MB / 1.227 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.3431, allocations: 0.8145 MB / 1.228 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.008e-05/0.3432, allocations: 25.48 kB / 1.228 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.3434, allocations: 115.4 kB / 1.228 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of SimCode: time 8.41e-07/0.3434, allocations: 0 / 1.228 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.383, allocations: 7.304 MB / 1.235 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/8.805, allocations: 5.5 kB / 1.235 GB, free: 10.57 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.964589302893728]