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.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.001673/0.001673, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002013/0.002013, allocations: 223 kB / 23.03 MB, free: 4.945 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.58/1.58, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.836/2.836, allocations: 476.8 MB / 0.7715 GB, free: 3.891 MB / 0.6231 GB " [Timeout remaining time 177] 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.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="cs",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.002264/0.002264, allocations: 63.77 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3576, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004782/0.3624, allocations: 2.212 MB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003057/0.3654, allocations: 1.498 MB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.3656, allocations: 4 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.3663, allocations: 171.1 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007353/0.3671, allocations: 183.2 kB / 1.288 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.3675, allocations: 139.5 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.368, allocations: 279 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.3682, allocations: 40.89 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.3684, allocations: 115.4 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.3687, allocations: 123.4 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.3687, allocations: 16 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.3689, allocations: 47.98 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.3691, allocations: 111.5 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.3693, allocations: 115.1 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006466/0.3699, allocations: 413.4 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3699, allocations: 0 / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3699, allocations: 0 / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.314e-05/0.3699, allocations: 0 / 1.289 GB, free: 5.188 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.001409/0.3713, allocations: 0.6553 MB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3714, allocations: 12.03 kB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.605e-05/0.3714, allocations: 192 / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.3715, allocations: 42.73 kB / 1.29 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.87e-05/0.3716, allocations: 52.61 kB / 1.29 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005919/0.3721, allocations: 358.6 kB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.3722, allocations: 7.938 kB / 1.29 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.3722, allocations: 8 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.3725, allocations: 119.3 kB / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3725, allocations: 0 / 1.291 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.3725, allocations: 4 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.3725, allocations: 4 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3726, allocations: 51.91 kB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008692/0.3735, allocations: 455.6 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.374, allocations: 110.7 kB / 1.291 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.374, allocations: 36.84 kB / 1.291 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3741, allocations: 0 / 1.291 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.3743, allocations: 109.1 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3743, allocations: 0 / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004699/0.3748, allocations: 193.5 kB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.3748, allocations: 55.34 kB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006546/0.3755, allocations: 0.5107 MB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.3755, allocations: 33.64 kB / 1.292 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.3757, allocations: 224 kB / 1.292 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.3758, allocations: 35.88 kB / 1.292 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-05/0.3759, allocations: 41.7 kB / 1.292 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.3761, allocations: 362.8 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3762, allocations: 47.98 kB / 1.293 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.3763, allocations: 107.6 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.3766, allocations: 107.7 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3766, allocations: 4 kB / 1.293 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004144/0.377, allocations: 217.2 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.377, allocations: 4 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.377, allocations: 3.984 kB / 1.293 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.377, allocations: 4 kB / 1.293 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.3772, allocations: 43.89 kB / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.3772, allocations: 0 / 1.293 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.3774, allocations: 23.92 kB / 1.293 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.3774, allocations: 11.98 kB / 1.293 GB, free: 0.9609 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.0002241/0.3776, allocations: 189.7 kB / 1.293 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.85e-05/0.3777, allocations: 43.72 kB / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003583/0.378, allocations: 165.6 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.378, allocations: 0 / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3781, allocations: 0 / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3781, allocations: 0 / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.3784, allocations: 292.4 kB / 1.294 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3784, allocations: 8 kB / 1.294 GB, free: 224 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.3785, allocations: 8 kB / 1.294 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3785, allocations: 0 / 1.294 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3785, allocations: 0 / 1.294 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3785, allocations: 0 / 1.294 GB, free: 216 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3785, allocations: 7.984 kB / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.379, allocations: 236.7 kB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.533e-05/0.3791, allocations: 35.75 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.3791, allocations: 8 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3792, allocations: 11.98 kB / 1.294 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.3793, allocations: 16.05 kB / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3793, allocations: 4 kB / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004147/0.3797, allocations: 362.8 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3797, allocations: 0 / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000294/0.38, allocations: 51.89 kB / 1.295 GB, free: 15.47 MB / 0.9981 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 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.00235/0.3823, allocations: 1.104 MB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003328/0.3827, allocations: 107.9 kB / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3827, allocations: 64 / 1.296 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3828, allocations: 43.97 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.3832, allocations: 73.45 kB / 1.296 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00436/0.3876, allocations: 3.201 MB / 1.299 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.3878, allocations: 224.8 kB / 1.299 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001388/0.388, allocations: 37.92 kB / 1.299 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.3882, allocations: 135.4 kB / 1.299 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/0.3882, allocations: 0 / 1.299 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.4236, allocations: 8.277 MB / 1.308 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.42, allocations: 18.52 kB / 1.308 GB, free: 2.445 MB / 0.9981 GB " [Timeout remaining time 287] (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/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: 19.550382782006636]