Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.001454/0.001454, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.001384/0.001384, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.751/2.751, allocations: 476.7 MB / 0.7611 GB, free: 11.26 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.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 71.89 kB / 1.104 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8776/0.8796, allocations: 168.7 MB / 1.269 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.00486/0.8844, allocations: 2.281 MB / 1.271 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002793/0.8872, allocations: 1.455 MB / 1.272 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.8874, allocations: 4 kB / 1.272 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.8881, allocations: 191.3 kB / 1.273 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.8886, allocations: 131.3 kB / 1.273 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004914/0.8891, allocations: 163.5 kB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003718/0.8895, allocations: 275 kB / 1.273 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.8896, allocations: 36.69 kB / 1.273 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.8898, allocations: 115.5 kB / 1.273 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.89, allocations: 115.5 kB / 1.273 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.89, allocations: 16 kB / 1.273 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.8901, allocations: 55.91 kB / 1.273 GB, free: 316 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.8903, allocations: 99.59 kB / 1.274 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.8904, allocations: 142.9 kB / 1.274 GB, free: 72 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.891, allocations: 408 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.891, allocations: 4 kB / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.891, allocations: 0 / 1.274 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.891, allocations: 4 kB / 1.274 GB, free: 15.66 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001305/0.8923, allocations: 0.7112 MB / 1.275 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.8924, allocations: 8.031 kB / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.8924, allocations: 38.75 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.578e-05/0.8925, allocations: 48.61 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.8931, allocations: 428.5 kB / 1.275 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.8931, allocations: 8.125 kB / 1.275 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.8932, allocations: 12 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.8934, allocations: 89.64 kB / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.8934, allocations: 0 / 1.275 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.8934, allocations: 11.94 kB / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.8934, allocations: 0 / 1.275 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.8936, allocations: 55.91 kB / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008548/0.8944, allocations: 492.5 kB / 1.276 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.8948, allocations: 98.66 kB / 1.276 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.094e-05/0.8949, allocations: 40.84 kB / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.8949, allocations: 0 / 1.276 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.8951, allocations: 95.31 kB / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.8951, allocations: 0 / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004254/0.8956, allocations: 181.1 kB / 1.276 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.8956, allocations: 55.41 kB / 1.276 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006265/0.8962, allocations: 0.495 MB / 1.277 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.8963, allocations: 37.7 kB / 1.277 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.8965, allocations: 232 kB / 1.277 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.8965, allocations: 23.84 kB / 1.277 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.431e-05/0.8966, allocations: 49.66 kB / 1.277 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001997/0.8968, allocations: 358.8 kB / 1.278 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.8969, allocations: 47.98 kB / 1.278 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.8971, allocations: 77.36 kB / 1.278 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.8973, allocations: 101.7 kB / 1.278 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.8973, allocations: 3.938 kB / 1.278 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003662/0.8976, allocations: 203 kB / 1.278 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.8977, allocations: 4 kB / 1.278 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8977, allocations: 7.984 kB / 1.278 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.8977, allocations: 0 / 1.278 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.8979, allocations: 39.92 kB / 1.278 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.8979, allocations: 8.031 kB / 1.278 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.898, allocations: 15.88 kB / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.898, allocations: 12 kB / 1.278 GB, free: 11.38 MB / 0.9825 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.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0002096/0.8982, allocations: 189.7 kB / 1.278 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.8983, allocations: 47.67 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/0.8984, allocations: 47.91 kB / 1.278 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.8984, allocations: 4 kB / 1.278 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8984, allocations: 0 / 1.278 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8984, allocations: 4 kB / 1.278 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.8987, allocations: 321.4 kB / 1.279 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8987, allocations: 3.938 kB / 1.279 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.777e-05/0.8988, allocations: 12 kB / 1.279 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8988, allocations: 0 / 1.279 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.8988, allocations: 3.984 kB / 1.279 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.8988, allocations: 4 kB / 1.279 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.8988, allocations: 3.984 kB / 1.279 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.8992, allocations: 225 kB / 1.279 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.8994, allocations: 120.8 kB / 1.279 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.8994, allocations: 4 kB / 1.279 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.299e-05/0.8995, allocations: 4 kB / 1.279 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.8995, allocations: 15.97 kB / 1.279 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.8996, allocations: 7.984 kB / 1.279 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004473/0.9, allocations: 350.8 kB / 1.279 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9, allocations: 0 / 1.279 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002962/0.9003, allocations: 59.83 kB / 1.279 GB, free: 9.883 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002274/0.9026, allocations: 1.061 MB / 1.28 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003156/0.9029, allocations: 99.89 kB / 1.281 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.9029, allocations: 3.938 kB / 1.281 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.903, allocations: 39.98 kB / 1.281 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.9034, allocations: 73.83 kB / 1.281 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.9077, allocations: 3.142 MB / 1.284 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005274/0.9083, allocations: 0.8268 MB / 1.285 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001244/0.9084, allocations: 25.94 kB / 1.285 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.9086, allocations: 139.3 kB / 1.285 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of SimCode: time 4.6e-07/0.9086, allocations: 0 / 1.285 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03596/0.9445, allocations: 7.744 MB / 1.292 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.697/9.641, allocations: 5.875 kB / 1.292 GB, free: 12.89 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.762554293964058]