Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0016/0.0016, allocations: 110.6 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.00191/0.00191, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.413/3.413, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_latest_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.002124/0.002124, allocations: 68.69 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3843, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.00426/0.3886, allocations: 2.531 MB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002905/0.3915, allocations: 1.739 MB / 1.357 GB, free: 4.168 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.3916, allocations: 11.94 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009548/0.3926, allocations: 330.7 kB / 1.357 GB, free: 3.832 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005493/0.3931, allocations: 266.9 kB / 1.358 GB, free: 3.57 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.3937, allocations: 215.4 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004725/0.3941, allocations: 406.7 kB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3943, allocations: 60.81 kB / 1.358 GB, free: 2.902 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.3945, allocations: 171.3 kB / 1.358 GB, free: 2.734 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.3948, allocations: 183.2 kB / 1.359 GB, free: 2.555 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.3948, allocations: 23.98 kB / 1.359 GB, free: 2.531 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.395, allocations: 79.95 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.3952, allocations: 139.4 kB / 1.359 GB, free: 2.316 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.3953, allocations: 194.6 kB / 1.359 GB, free: 2.125 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.3959, allocations: 0.5131 MB / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.396, allocations: 0 / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.396, allocations: 0 / 1.36 GB, free: 1.609 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.396, allocations: 0 / 1.36 GB, free: 1.609 MB / 1.045 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.001282/0.3972, allocations: 0.793 MB / 1.36 GB, free: 0.7773 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3973, allocations: 8.031 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.3973, allocations: 42.73 kB / 1.36 GB, free: 0.7188 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.8e-05/0.3974, allocations: 68.52 kB / 1.36 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.398, allocations: 383.3 kB / 1.361 GB, free: 256 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.398, allocations: 8 kB / 1.361 GB, free: 248 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.398, allocations: 12 kB / 1.361 GB, free: 236 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.3983, allocations: 140.6 kB / 1.361 GB, free: 84 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3984, allocations: 4 kB / 1.361 GB, free: 80 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.3984, allocations: 4 kB / 1.361 GB, free: 76 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3984, allocations: 7.938 kB / 1.361 GB, free: 68 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.3985, allocations: 67.95 kB / 1.361 GB, free: 0 / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00094/0.3995, allocations: 0.5462 MB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.3998, allocations: 126.7 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.3999, allocations: 40.84 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3999, allocations: 7.922 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.4002, allocations: 109.5 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.4002, allocations: 0 / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005374/0.4007, allocations: 241.1 kB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.4008, allocations: 85.09 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.4017, allocations: 0.7033 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.4017, allocations: 33.7 kB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.402, allocations: 272.4 kB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.402, allocations: 35.73 kB / 1.363 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/0.4021, allocations: 53.7 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.4023, allocations: 374.7 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.4025, allocations: 75.97 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.4027, allocations: 121 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.4029, allocations: 141.8 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4029, allocations: 4 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004608/0.4034, allocations: 281.1 kB / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4034, allocations: 4 kB / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4034, allocations: 0 / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4034, allocations: 4 kB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.4036, allocations: 35.92 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.4036, allocations: 4 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.4038, allocations: 23.88 kB / 1.364 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.4038, allocations: 12.06 kB / 1.364 GB, free: 12.55 MB / 1.061 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.0002564/0.4041, allocations: 215.5 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.4041, allocations: 59.56 kB / 1.364 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.4045, allocations: 206.8 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4046, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4046, allocations: 48 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4046, allocations: 7.984 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.405, allocations: 356.4 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.405, allocations: 3.938 kB / 1.365 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.405, allocations: 8 kB / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.405, allocations: 0 / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.405, allocations: 4 kB / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.405, allocations: 0 / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.405, allocations: 0 / 1.365 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.4054, allocations: 234.6 kB / 1.365 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.4055, allocations: 59.55 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.4055, allocations: 8 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.4057, allocations: 11.98 kB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.4057, allocations: 15.97 kB / 1.365 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.4057, allocations: 8 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005526/0.4063, allocations: 479 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4063, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003207/0.4066, allocations: 67.88 kB / 1.366 GB, free: 10.77 MB / 1.061 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.002209/0.4088, allocations: 1.096 MB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003657/0.4092, allocations: 146.1 kB / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4092, allocations: 0 / 1.367 GB, free: 9.668 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.4093, allocations: 60.05 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.4098, allocations: 94.17 kB / 1.367 GB, free: 9.523 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00517/0.415, allocations: 3.952 MB / 1.371 GB, free: 5.473 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.4155, allocations: 0.8766 MB / 1.372 GB, free: 4.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.4157, allocations: 54.92 kB / 1.372 GB, free: 4.512 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.416, allocations: 171.4 kB / 1.372 GB, free: 4.348 MB / 1.061 GB Notification: Performance of SimCode: time 9.61e-07/0.416, allocations: 0 / 1.372 GB, free: 4.348 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/0.4563, allocations: 10.21 MB / 1.382 GB, free: 10.25 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.42, allocations: 9.672 kB / 1.382 GB, free: 10.24 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.556743815075606]