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.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.001295/0.001295, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00154/0.00154, allocations: 215.4 kB / 22.25 MB, free: 5.125 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.98/2.98, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: 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.002063/0.002063, allocations: 67.02 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3761, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004448/0.3805, allocations: 2.524 MB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003101/0.3836, allocations: 1.751 MB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.3839, allocations: 7.938 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.3849, allocations: 322.6 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006423/0.3856, allocations: 266.9 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005825/0.3861, allocations: 209.8 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.3867, allocations: 410.6 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.3868, allocations: 48.91 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.3871, allocations: 183.2 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.3874, allocations: 171.2 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.141e-05/0.3874, allocations: 19.94 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.3876, allocations: 95.94 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3878, allocations: 135.4 kB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.388, allocations: 190.6 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006804/0.3887, allocations: 0.5133 MB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3887, allocations: 0 / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3887, allocations: 0 / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.3887, allocations: 3.938 kB / 1.29 GB, free: 4.77 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.001377/0.39, allocations: 0.793 MB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3901, allocations: 8.031 kB / 1.291 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.375e-05/0.3901, allocations: 46.73 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.3902, allocations: 64.52 kB / 1.291 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.3909, allocations: 387.3 kB / 1.291 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.3909, allocations: 8 kB / 1.291 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3909, allocations: 12 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.3912, allocations: 139.3 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3912, allocations: 3.938 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.3912, allocations: 8 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3913, allocations: 3.938 kB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.3914, allocations: 67.95 kB / 1.292 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009179/0.3923, allocations: 0.5462 MB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.3927, allocations: 118.8 kB / 1.292 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.3928, allocations: 48.78 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.3928, allocations: 4 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.3931, allocations: 115.5 kB / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.3931, allocations: 0 / 1.292 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005567/0.3936, allocations: 237.9 kB / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.3937, allocations: 77.11 kB / 1.293 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.3946, allocations: 0.715 MB / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.3946, allocations: 25.7 kB / 1.293 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.3949, allocations: 268.4 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.3949, allocations: 39.72 kB / 1.294 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.337e-05/0.395, allocations: 61.69 kB / 1.294 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002315/0.3953, allocations: 374.8 kB / 1.294 GB, free: 440 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.3954, allocations: 71.97 kB / 1.294 GB, free: 368 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.3956, allocations: 118.2 kB / 1.294 GB, free: 232 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.3959, allocations: 145.4 kB / 1.294 GB, free: 80 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3959, allocations: 0 / 1.294 GB, free: 80 kB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004882/0.3964, allocations: 273.1 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3964, allocations: 8 kB / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3964, allocations: 0 / 1.295 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.3964, allocations: 4 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.3966, allocations: 31.97 kB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3966, allocations: 15.94 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.3968, allocations: 23.88 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.3968, allocations: 8 kB / 1.295 GB, free: 15.71 MB / 0.9981 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.0002536/0.397, allocations: 215.5 kB / 1.295 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.3971, allocations: 59.56 kB / 1.295 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.3975, allocations: 212 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3975, allocations: 4 kB / 1.295 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3976, allocations: 3.984 kB / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3976, allocations: 0 / 1.295 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.3979, allocations: 352.4 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3979, allocations: 4 kB / 1.296 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.35e-05/0.398, allocations: 15.98 kB / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.398, allocations: 0 / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.398, allocations: 48 / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.398, allocations: 4 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.398, allocations: 3.984 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.3984, allocations: 229.7 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.3985, allocations: 55.56 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.3985, allocations: 7.984 kB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.3986, allocations: 8 kB / 1.296 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.3987, allocations: 23.97 kB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3987, allocations: 7.984 kB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000575/0.3993, allocations: 479 kB / 1.296 GB, free: 14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3993, allocations: 4 kB / 1.296 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003286/0.3996, allocations: 71.88 kB / 1.296 GB, free: 13.92 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 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * 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.002342/0.402, allocations: 1.075 MB / 1.297 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.4024, allocations: 154.5 kB / 1.298 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4024, allocations: 0 / 1.298 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.4025, allocations: 56.41 kB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.4031, allocations: 94.7 kB / 1.298 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.4085, allocations: 3.964 MB / 1.302 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.409, allocations: 0.8689 MB / 1.302 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000181/0.4092, allocations: 50.94 kB / 1.303 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.4094, allocations: 171.4 kB / 1.303 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of SimCode: time 1.583e-06/0.4094, allocations: 0 / 1.303 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04567/0.4551, allocations: 10.22 MB / 1.313 GB, free: 13.41 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.34, allocations: 1.219 kB / 1.313 GB, free: 13.41 MB / 1.014 GB " [Timeout remaining time 287] (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/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: 19.64398416900076]