Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001529/0.001529, allocations: 113.2 kB / 16.46 MB, free: 6.504 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.001703/0.001703, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.447/1.447, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.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.795/2.795, allocations: 476.7 MB / 0.7611 GB, free: 11.36 MB / 0.6231 GB " [Timeout remaining time 177] 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.AssertWaterFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003135/0.003135, allocations: 64.89 kB / 1.104 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3609, allocations: 168.7 MB / 1.269 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004495/0.3654, allocations: 2.473 MB / 1.271 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002665/0.3681, allocations: 1.576 MB / 1.273 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.3683, allocations: 7.938 kB / 1.273 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009511/0.3692, allocations: 326.9 kB / 1.273 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.3697, allocations: 227.1 kB / 1.273 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.3704, allocations: 263.2 kB / 1.274 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000461/0.3708, allocations: 386.8 kB / 1.274 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.371, allocations: 44.69 kB / 1.274 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002404/0.3712, allocations: 167.3 kB / 1.274 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.3715, allocations: 179.1 kB / 1.274 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.559e-05/0.3715, allocations: 20 kB / 1.274 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.3717, allocations: 79.95 kB / 1.274 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.3718, allocations: 135.5 kB / 1.274 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.372, allocations: 186.6 kB / 1.275 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006314/0.3727, allocations: 0.4937 MB / 1.275 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3727, allocations: 0 / 1.275 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.448e-06/0.3727, allocations: 4 kB / 1.275 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.3727, allocations: 0 / 1.275 GB, free: 6.309 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001358/0.374, allocations: 0.8528 MB / 1.276 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3741, allocations: 12.03 kB / 1.276 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.3741, allocations: 46.73 kB / 1.276 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.541e-05/0.3742, allocations: 56.56 kB / 1.276 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.3749, allocations: 441.2 kB / 1.276 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3749, allocations: 4 kB / 1.277 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.3749, allocations: 19.94 kB / 1.277 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.3752, allocations: 142.1 kB / 1.277 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.3752, allocations: 0 / 1.277 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.3753, allocations: 4 kB / 1.277 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.3753, allocations: 7.938 kB / 1.277 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3754, allocations: 63.95 kB / 1.277 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009616/0.3764, allocations: 0.5823 MB / 1.277 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.3767, allocations: 122.7 kB / 1.277 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3769, allocations: 44.83 kB / 1.277 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.3769, allocations: 0 / 1.277 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.3771, allocations: 123.5 kB / 1.278 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3771, allocations: 0 / 1.278 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005464/0.3777, allocations: 243.8 kB / 1.278 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.3777, allocations: 85.05 kB / 1.278 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008248/0.3786, allocations: 0.6799 MB / 1.279 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.3786, allocations: 33.7 kB / 1.279 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.3788, allocations: 268.4 kB / 1.279 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3789, allocations: 39.73 kB / 1.279 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.379, allocations: 57.64 kB / 1.279 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.3792, allocations: 366.8 kB / 1.279 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.3794, allocations: 75.95 kB / 1.279 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.3796, allocations: 123.7 kB / 1.279 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.3798, allocations: 138.4 kB / 1.28 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3798, allocations: 0 / 1.28 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004758/0.3803, allocations: 267.2 kB / 1.28 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3803, allocations: 4 kB / 1.28 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3803, allocations: 8.062 kB / 1.28 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3804, allocations: 0 / 1.28 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.3805, allocations: 39.92 kB / 1.28 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3805, allocations: 0 / 1.28 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.3807, allocations: 27.88 kB / 1.28 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.3807, allocations: 7.984 kB / 1.28 GB, free: 1.105 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002415/0.381, allocations: 211.5 kB / 1.28 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.381, allocations: 59.56 kB / 1.28 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.3811, allocations: 68.98 kB / 1.28 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3811, allocations: 0 / 1.28 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3812, allocations: 0 / 1.28 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3812, allocations: 0 / 1.28 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.3815, allocations: 369.4 kB / 1.281 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3815, allocations: 0 / 1.281 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/0.3816, allocations: 8 kB / 1.281 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3816, allocations: 0 / 1.281 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3816, allocations: 11.98 kB / 1.281 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3816, allocations: 0 / 1.281 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3816, allocations: 0 / 1.281 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.382, allocations: 236.5 kB / 1.281 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.3822, allocations: 128.7 kB / 1.281 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.3822, allocations: 4 kB / 1.281 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.3823, allocations: 15.98 kB / 1.281 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.3824, allocations: 19.97 kB / 1.281 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.3824, allocations: 4 kB / 1.281 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005649/0.383, allocations: 475 kB / 1.281 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.383, allocations: 0 / 1.281 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000329/0.3833, allocations: 67.88 kB / 1.282 GB, free: 15.36 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: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002237/0.3855, allocations: 1.093 MB / 1.283 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000379/0.3859, allocations: 143.9 kB / 1.283 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3859, allocations: 0 / 1.283 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3861, allocations: 55.91 kB / 1.283 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.3866, allocations: 92.62 kB / 1.283 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/0.3918, allocations: 3.914 MB / 1.287 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.3924, allocations: 0.8689 MB / 1.288 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001539/0.3925, allocations: 42.95 kB / 1.288 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.3927, allocations: 163.4 kB / 1.288 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/0.3927, allocations: 4 kB / 1.288 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/0.4299, allocations: 9.853 MB / 1.297 GB, free: 15.31 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.788/9.218, allocations: 1.875 kB / 1.297 GB, free: 15.31 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.864812733605504]