Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001532/0.001532, allocations: 104.4 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.001629/0.001629, allocations: 188.6 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.564/1.564, allocations: 225.6 MB / 247.8 MB, free: 3.73 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.955/2.955, allocations: 497.2 MB / 0.7812 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.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003047/0.003047, allocations: 67.89 kB / 1.134 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9756/0.9787, allocations: 173.9 MB / 1.304 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004367/0.983, allocations: 2.277 MB / 1.306 GB, free: 13.95 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002592/0.9856, allocations: 1.446 MB / 1.308 GB, free: 12.95 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.9858, allocations: 10.28 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.9865, allocations: 183.2 kB / 1.308 GB, free: 12.86 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.9869, allocations: 132.7 kB / 1.308 GB, free: 12.79 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.9874, allocations: 171.5 kB / 1.308 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.9878, allocations: 276.2 kB / 1.308 GB, free: 12.56 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.988, allocations: 32.62 kB / 1.308 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.9882, allocations: 116 kB / 1.308 GB, free: 12.49 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.9884, allocations: 123 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.9884, allocations: 14.09 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.9886, allocations: 50.59 kB / 1.309 GB, free: 12.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.9887, allocations: 100.6 kB / 1.309 GB, free: 12.38 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.9889, allocations: 146.5 kB / 1.309 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006002/0.9895, allocations: 394.1 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.9895, allocations: 4.844 kB / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9895, allocations: 0 / 1.309 GB, free: 12.11 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.9895, allocations: 0 / 1.309 GB, free: 12.11 MB / 1.014 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.001186/0.9907, allocations: 0.7271 MB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.9907, allocations: 10.44 kB / 1.31 GB, free: 11.49 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.9908, allocations: 38.83 kB / 1.31 GB, free: 11.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/0.9908, allocations: 49.98 kB / 1.31 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.9914, allocations: 419.7 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.9914, allocations: 8.359 kB / 1.311 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.9915, allocations: 14.53 kB / 1.311 GB, free: 11.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.9917, allocations: 89.92 kB / 1.311 GB, free: 11.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.9917, allocations: 4 kB / 1.311 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.9917, allocations: 1 kB / 1.311 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.9917, allocations: 2.031 kB / 1.311 GB, free: 11.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.9919, allocations: 54.86 kB / 1.311 GB, free: 11 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008439/0.9927, allocations: 0.4936 MB / 1.311 GB, free: 10.63 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.9931, allocations: 96.41 kB / 1.311 GB, free: 10.59 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.9931, allocations: 38.19 kB / 1.311 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.9932, allocations: 1.953 kB / 1.311 GB, free: 10.56 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.9934, allocations: 90.45 kB / 1.311 GB, free: 10.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.9934, allocations: 0 / 1.311 GB, free: 10.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0004009/0.9938, allocations: 180.6 kB / 1.312 GB, free: 10.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.9938, allocations: 57.81 kB / 1.312 GB, free: 10.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.9944, allocations: 0.4985 MB / 1.312 GB, free: 10.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.9944, allocations: 28.27 kB / 1.312 GB, free: 10.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.9946, allocations: 231.8 kB / 1.312 GB, free: 9.887 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.9947, allocations: 35.47 kB / 1.312 GB, free: 9.859 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.041e-05/0.9948, allocations: 46.42 kB / 1.312 GB, free: 9.832 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.9949, allocations: 358.9 kB / 1.313 GB, free: 9.5 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.9951, allocations: 46.23 kB / 1.313 GB, free: 9.484 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.9952, allocations: 83.34 kB / 1.313 GB, free: 9.434 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.9954, allocations: 94 kB / 1.313 GB, free: 9.387 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.9954, allocations: 7.938 kB / 1.313 GB, free: 9.379 MB / 1.014 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003632/0.9958, allocations: 214 kB / 1.313 GB, free: 9.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.9958, allocations: 6.484 kB / 1.313 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.9958, allocations: 0 / 1.313 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.9958, allocations: 2.281 kB / 1.313 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.996, allocations: 34.52 kB / 1.313 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.996, allocations: 1.984 kB / 1.313 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.9961, allocations: 21.3 kB / 1.313 GB, free: 9.258 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.9961, allocations: 10.91 kB / 1.313 GB, free: 9.254 MB / 1.014 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.0002081/0.9963, allocations: 193.1 kB / 1.313 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.9964, allocations: 51.7 kB / 1.313 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.868e-05/0.9965, allocations: 46.34 kB / 1.314 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.9965, allocations: 2.25 kB / 1.314 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9965, allocations: 0.6562 kB / 1.314 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.9965, allocations: 0.6562 kB / 1.314 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.9969, allocations: 319 kB / 1.314 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.9969, allocations: 0 / 1.314 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.009e-05/0.9969, allocations: 19.55 kB / 1.314 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.9969, allocations: 1.25 kB / 1.314 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.997, allocations: 5 kB / 1.314 GB, free: 8.781 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.997, allocations: 5.094 kB / 1.314 GB, free: 8.777 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.997, allocations: 0 / 1.314 GB, free: 8.777 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.9974, allocations: 220.3 kB / 1.314 GB, free: 8.625 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.9975, allocations: 115.2 kB / 1.314 GB, free: 8.504 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.9975, allocations: 6.188 kB / 1.314 GB, free: 8.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.9976, allocations: 11.89 kB / 1.314 GB, free: 8.492 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.9977, allocations: 16.95 kB / 1.314 GB, free: 8.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.9977, allocations: 7.875 kB / 1.314 GB, free: 8.477 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004003/0.9981, allocations: 352.5 kB / 1.315 GB, free: 8.273 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9981, allocations: 0 / 1.315 GB, free: 8.273 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002959/0.9984, allocations: 53.41 kB / 1.315 GB, free: 8.258 MB / 1.014 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.002112/1, allocations: 1.067 MB / 1.316 GB, free: 7.469 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002849/1.001, allocations: 98.72 kB / 1.316 GB, free: 7.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.001, allocations: 3.938 kB / 1.316 GB, free: 7.426 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/1.001, allocations: 32.45 kB / 1.316 GB, free: 7.414 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/1.001, allocations: 81.64 kB / 1.316 GB, free: 7.375 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/1.005, allocations: 3.15 MB / 1.319 GB, free: 5.234 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/1.006, allocations: 0.8191 MB / 1.32 GB, free: 4.473 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000146/1.006, allocations: 38.23 kB / 1.32 GB, free: 4.453 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/1.006, allocations: 122.9 kB / 1.32 GB, free: 4.348 MB / 1.014 GB Notification: Performance of SimCode: time 8.92e-07/1.006, allocations: 0 / 1.32 GB, free: 4.348 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/1.041, allocations: 7.725 MB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.607/9.649, allocations: 17.2 kB / 1.327 GB, free: 320 kB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.124653364066035]