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.001358/0.001358, allocations: 106.9 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.001398/0.001398, 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.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 3.738 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.883/2.883, allocations: 476.7 MB / 0.7611 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 176] 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.001991/0.001991, allocations: 71.89 kB / 1.104 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.937/0.939, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003306/0.9423, allocations: 2.204 MB / 1.271 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.9444, allocations: 1.388 MB / 1.272 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.9446, allocations: 1.562 kB / 1.272 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000669/0.9452, allocations: 194.5 kB / 1.272 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.9456, allocations: 127.2 kB / 1.273 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.946, allocations: 145.8 kB / 1.273 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.9464, allocations: 228.4 kB / 1.273 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.9465, allocations: 28.02 kB / 1.273 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.9467, allocations: 106 kB / 1.273 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.9468, allocations: 97.05 kB / 1.273 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.9469, allocations: 14.78 kB / 1.273 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.947, allocations: 52.8 kB / 1.273 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.9471, allocations: 103.9 kB / 1.273 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.9472, allocations: 126.2 kB / 1.273 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.9477, allocations: 362.6 kB / 1.274 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9477, allocations: 0 / 1.274 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.285e-06/0.9477, allocations: 8.844 kB / 1.274 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.9477, allocations: 0 / 1.274 GB, free: 4.492 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.0008776/0.9486, allocations: 0.6944 MB / 1.274 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.9486, allocations: 13.59 kB / 1.274 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.9487, allocations: 40.25 kB / 1.275 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.568e-05/0.9487, allocations: 45.31 kB / 1.275 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000408/0.9491, allocations: 353.8 kB / 1.275 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.9492, allocations: 6.125 kB / 1.275 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.9492, allocations: 8.938 kB / 1.275 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.9494, allocations: 76.98 kB / 1.275 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9494, allocations: 0 / 1.275 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.9494, allocations: 8.812 kB / 1.275 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.9494, allocations: 1 kB / 1.275 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.9495, allocations: 40.91 kB / 1.275 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006504/0.9501, allocations: 456.3 kB / 1.275 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.9503, allocations: 62.88 kB / 1.276 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.9504, allocations: 30.02 kB / 1.276 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.9504, allocations: 1.781 kB / 1.276 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.9506, allocations: 75.5 kB / 1.276 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.923e-06/0.9506, allocations: 3.984 kB / 1.276 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003487/0.9509, allocations: 151.7 kB / 1.276 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.9509, allocations: 56.08 kB / 1.276 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/0.9516, allocations: 0.5336 MB / 1.276 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.9516, allocations: 28.05 kB / 1.276 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.9517, allocations: 222.2 kB / 1.277 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.9517, allocations: 13.89 kB / 1.277 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.9518, allocations: 40.59 kB / 1.277 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.9519, allocations: 358.7 kB / 1.277 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.952, allocations: 47.89 kB / 1.277 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.9521, allocations: 86.11 kB / 1.277 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.9523, allocations: 84.31 kB / 1.277 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9523, allocations: 0 / 1.277 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002919/0.9526, allocations: 206.4 kB / 1.277 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.9526, allocations: 5.531 kB / 1.277 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9526, allocations: 0.9375 kB / 1.277 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.9526, allocations: 4.875 kB / 1.277 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.9527, allocations: 25.45 kB / 1.277 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.9527, allocations: 1.906 kB / 1.277 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.9529, allocations: 9.062 kB / 1.277 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.9529, allocations: 8.469 kB / 1.277 GB, free: 1.785 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.0001417/0.953, allocations: 182 kB / 1.278 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.9531, allocations: 42.62 kB / 1.278 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.9531, allocations: 48.97 kB / 1.278 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.9531, allocations: 14.2 kB / 1.278 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.9531, allocations: 0.9375 kB / 1.278 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.9531, allocations: 0 / 1.278 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.9534, allocations: 304.4 kB / 1.278 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9534, allocations: 0 / 1.278 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.9534, allocations: 3.688 kB / 1.278 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.9534, allocations: 3.844 kB / 1.278 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.9534, allocations: 2 kB / 1.278 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.9534, allocations: 3.938 kB / 1.278 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9534, allocations: 0.9062 kB / 1.278 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.9536, allocations: 159.7 kB / 1.278 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.9537, allocations: 114.8 kB / 1.278 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.9537, allocations: 2.094 kB / 1.278 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.196e-05/0.9538, allocations: 15.17 kB / 1.278 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.9539, allocations: 11.38 kB / 1.278 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.9539, allocations: 6.625 kB / 1.278 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003633/0.9542, allocations: 360.8 kB / 1.279 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9542, allocations: 0 / 1.279 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002792/0.9545, allocations: 49.16 kB / 1.279 GB, free: 0.9258 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 (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.001713/0.9562, allocations: 0.9989 MB / 1.28 GB, free: 204 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.9565, allocations: 88.05 kB / 1.28 GB, free: 180 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9565, allocations: 4.062 kB / 1.28 GB, free: 176 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.9566, allocations: 26.33 kB / 1.28 GB, free: 168 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.957, allocations: 64.58 kB / 1.28 GB, free: 140 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.961, allocations: 3.08 MB / 1.283 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.9615, allocations: 0.8192 MB / 1.284 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001063/0.9616, allocations: 21.41 kB / 1.284 GB, free: 13.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.9618, allocations: 115 kB / 1.284 GB, free: 13.52 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/0.9618, allocations: 0 / 1.284 GB, free: 13.52 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.9945, allocations: 7.291 MB / 1.291 GB, free: 12.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/9.64, allocations: 19.02 kB / 1.291 GB, free: 12.22 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 --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_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.96219902811572]