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.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.001694/0.001694, allocations: 104 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.001936/0.001936, allocations: 187.7 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.519/1.519, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.864/2.864, allocations: 497.2 MB / 0.7811 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 71.88 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8811, allocations: 173.9 MB / 1.304 GB, free: 32.17 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003282/0.8844, allocations: 2.467 MB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.8864, allocations: 1.587 MB / 1.308 GB, free: 29.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.8865, allocations: 2.906 kB / 1.308 GB, free: 29.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000786/0.8873, allocations: 326.9 kB / 1.308 GB, free: 29.24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.8877, allocations: 222.9 kB / 1.308 GB, free: 29.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.8884, allocations: 273.1 kB / 1.309 GB, free: 28.99 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.8887, allocations: 382.9 kB / 1.309 GB, free: 28.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.8889, allocations: 46.92 kB / 1.309 GB, free: 28.79 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.8891, allocations: 167.3 kB / 1.309 GB, free: 28.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.8892, allocations: 174.7 kB / 1.309 GB, free: 28.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.2e-05/0.8893, allocations: 21.44 kB / 1.309 GB, free: 28.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.8895, allocations: 86.81 kB / 1.31 GB, free: 28.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.8896, allocations: 131.1 kB / 1.31 GB, free: 28.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.8897, allocations: 185.4 kB / 1.31 GB, free: 28.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.8902, allocations: 0.496 MB / 1.31 GB, free: 28.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8902, allocations: 3 kB / 1.31 GB, free: 28.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8902, allocations: 0 / 1.31 GB, free: 28.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.8902, allocations: 0 / 1.31 GB, free: 28.21 MB / 1.061 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.001076/0.8913, allocations: 0.8546 MB / 1.311 GB, free: 27.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.8913, allocations: 8.469 kB / 1.311 GB, free: 27.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.8914, allocations: 41.69 kB / 1.311 GB, free: 27.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.309e-05/0.8915, allocations: 65.03 kB / 1.311 GB, free: 27.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.8919, allocations: 444.6 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.8919, allocations: 9.062 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.892, allocations: 12.41 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.8922, allocations: 134.5 kB / 1.312 GB, free: 26.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.8922, allocations: 3.938 kB / 1.312 GB, free: 26.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.8923, allocations: 6.656 kB / 1.312 GB, free: 26.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.8923, allocations: 6.688 kB / 1.312 GB, free: 26.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.8924, allocations: 64.36 kB / 1.312 GB, free: 26.96 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.8931, allocations: 0.5712 MB / 1.313 GB, free: 26.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.8934, allocations: 121.4 kB / 1.313 GB, free: 26.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.8935, allocations: 43.55 kB / 1.313 GB, free: 26.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.8935, allocations: 2.844 kB / 1.313 GB, free: 26.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.8938, allocations: 119.6 kB / 1.313 GB, free: 26.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.8938, allocations: 0 / 1.313 GB, free: 26.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0004679/0.8942, allocations: 238 kB / 1.313 GB, free: 26.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.8943, allocations: 79.61 kB / 1.313 GB, free: 26.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006492/0.8949, allocations: 0.685 MB / 1.314 GB, free: 25.92 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.895, allocations: 32.61 kB / 1.314 GB, free: 25.88 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.8951, allocations: 264.8 kB / 1.314 GB, free: 25.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.8951, allocations: 45.14 kB / 1.314 GB, free: 25.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/0.8952, allocations: 53.98 kB / 1.314 GB, free: 25.6 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8953, allocations: 368.6 kB / 1.314 GB, free: 25.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.8955, allocations: 74.62 kB / 1.315 GB, free: 25.24 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.8956, allocations: 120.2 kB / 1.315 GB, free: 25.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.8958, allocations: 139.9 kB / 1.315 GB, free: 25.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.8958, allocations: 2.656 kB / 1.315 GB, free: 25.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003901/0.8962, allocations: 272.8 kB / 1.315 GB, free: 24.96 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8963, allocations: 7.156 kB / 1.315 GB, free: 24.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8963, allocations: 2.75 kB / 1.315 GB, free: 24.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.8963, allocations: 4.062 kB / 1.315 GB, free: 24.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.8964, allocations: 37.92 kB / 1.315 GB, free: 24.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.8965, allocations: 5.641 kB / 1.315 GB, free: 24.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.8966, allocations: 21.77 kB / 1.315 GB, free: 24.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.8967, allocations: 6.406 kB / 1.315 GB, free: 24.94 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.0002158/0.8969, allocations: 220.1 kB / 1.315 GB, free: 24.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.8969, allocations: 60.31 kB / 1.315 GB, free: 24.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.897, allocations: 59.52 kB / 1.315 GB, free: 24.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.897, allocations: 6.469 kB / 1.315 GB, free: 24.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.897, allocations: 0 / 1.315 GB, free: 24.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.8971, allocations: 3.281 kB / 1.315 GB, free: 24.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.8974, allocations: 374.4 kB / 1.316 GB, free: 24.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8974, allocations: 0 / 1.316 GB, free: 24.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.8974, allocations: 12.72 kB / 1.316 GB, free: 24.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8974, allocations: 3.938 kB / 1.316 GB, free: 24.44 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.8974, allocations: 3.188 kB / 1.316 GB, free: 24.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8974, allocations: 2.688 kB / 1.316 GB, free: 24.44 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.8974, allocations: 3.938 kB / 1.316 GB, free: 24.44 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.8977, allocations: 220.4 kB / 1.316 GB, free: 24.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.8978, allocations: 131.4 kB / 1.316 GB, free: 24.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.8979, allocations: 6.406 kB / 1.316 GB, free: 24.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.898, allocations: 15.19 kB / 1.316 GB, free: 24.17 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.8981, allocations: 19.91 kB / 1.316 GB, free: 24.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.8981, allocations: 8.438 kB / 1.316 GB, free: 24.16 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004069/0.8985, allocations: 472.7 kB / 1.317 GB, free: 23.97 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8985, allocations: 0 / 1.317 GB, free: 23.97 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002911/0.8988, allocations: 68.53 kB / 1.317 GB, free: 23.95 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 (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.0018/0.9006, allocations: 1.084 MB / 1.318 GB, free: 23.19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.9009, allocations: 152.4 kB / 1.318 GB, free: 23.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.901, allocations: 2.625 kB / 1.318 GB, free: 23.14 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.9011, allocations: 51.23 kB / 1.318 GB, free: 23.12 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.9016, allocations: 98.75 kB / 1.318 GB, free: 23.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.9057, allocations: 3.895 MB / 1.322 GB, free: 20.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.906, allocations: 0.8598 MB / 1.323 GB, free: 20.28 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.9062, allocations: 46.61 kB / 1.323 GB, free: 20.26 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.9064, allocations: 166.7 kB / 1.323 GB, free: 20.13 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/0.9064, allocations: 0 / 1.323 GB, free: 20.13 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.9414, allocations: 9.869 MB / 1.333 GB, free: 18.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.84/9.781, allocations: 7.734 kB / 1.333 GB, free: 18.58 MB / 1.061 GB " [Timeout remaining time 290] (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_2/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: 16.131065999157727]