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.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.001969/0.001969, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002444/0.002444, allocations: 157 kB / 23.01 MB, free: 4.949 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.99/2.99, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [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.002131/0.002131, allocations: 71.88 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8852/0.8873, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003351/0.8907, allocations: 2.215 MB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002257/0.8929, allocations: 1.502 MB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.8931, allocations: 6.25 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005835/0.8936, allocations: 180.6 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004569/0.8941, allocations: 173.5 kB / 1.191 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.8944, allocations: 133.4 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.8948, allocations: 283.5 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.8949, allocations: 34.28 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.8951, allocations: 118 kB / 1.191 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.8953, allocations: 112.5 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.8953, allocations: 17.72 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.8954, allocations: 59.48 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.8956, allocations: 102.4 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.8957, allocations: 111.5 kB / 1.192 GB, free: 13.06 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.8961, allocations: 413 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8962, allocations: 0 / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8962, allocations: 0 / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.8962, allocations: 1.156 kB / 1.192 GB, free: 12.89 MB / 1.076 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.000938/0.8971, allocations: 0.6499 MB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.8971, allocations: 8.719 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.134e-05/0.8972, allocations: 51.47 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.8977, allocations: 364.9 kB / 1.193 GB, free: 12.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.8977, allocations: 9.016 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.8977, allocations: 9.625 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.898, allocations: 124.2 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.898, allocations: 4 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.898, allocations: 5.672 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.898, allocations: 2.281 kB / 1.193 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.8981, allocations: 51.52 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.8988, allocations: 417.6 kB / 1.194 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.899, allocations: 91.11 kB / 1.194 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.192e-05/0.8991, allocations: 35.2 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.8991, allocations: 5.406 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.8993, allocations: 108.8 kB / 1.194 GB, free: 11.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.8993, allocations: 0 / 1.194 GB, free: 11.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0003659/0.8996, allocations: 180.3 kB / 1.194 GB, free: 11.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.8997, allocations: 57.11 kB / 1.194 GB, free: 11.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.9002, allocations: 0.504 MB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.9002, allocations: 31.2 kB / 1.195 GB, free: 11.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.9003, allocations: 229.9 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.9004, allocations: 34.03 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/0.9004, allocations: 51.73 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.9005, allocations: 367.3 kB / 1.195 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.9006, allocations: 51.5 kB / 1.195 GB, free: 10.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.9008, allocations: 99.23 kB / 1.195 GB, free: 10.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.9009, allocations: 96.42 kB / 1.195 GB, free: 10.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9009, allocations: 1.125 kB / 1.195 GB, free: 10.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003275/0.9013, allocations: 218.2 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.9013, allocations: 6.609 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9013, allocations: 0.8438 kB / 1.196 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9013, allocations: 5.5 kB / 1.196 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.9015, allocations: 37.19 kB / 1.196 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.9015, allocations: 1.75 kB / 1.196 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.9016, allocations: 13.31 kB / 1.196 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.9016, allocations: 11.83 kB / 1.196 GB, free: 10.23 MB / 1.076 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.0001668/0.9018, allocations: 194 kB / 1.196 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.9019, allocations: 52.95 kB / 1.196 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.9021, allocations: 159.4 kB / 1.196 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.9022, allocations: 5.812 kB / 1.196 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9022, allocations: 0 / 1.196 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.9022, allocations: 0.6562 kB / 1.196 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.9024, allocations: 245.3 kB / 1.196 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9024, allocations: 0.9375 kB / 1.196 GB, free: 9.797 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.687e-05/0.9025, allocations: 13.66 kB / 1.196 GB, free: 9.793 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.9025, allocations: 5.688 kB / 1.196 GB, free: 9.789 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.9025, allocations: 1.906 kB / 1.196 GB, free: 9.789 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.9025, allocations: 0.7969 kB / 1.196 GB, free: 9.789 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9025, allocations: 4.859 kB / 1.196 GB, free: 9.785 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.9029, allocations: 228.5 kB / 1.197 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-05/0.9029, allocations: 43.12 kB / 1.197 GB, free: 9.613 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.903, allocations: 7.5 kB / 1.197 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.301e-05/0.903, allocations: 5.844 kB / 1.197 GB, free: 9.609 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.9031, allocations: 19.05 kB / 1.197 GB, free: 9.602 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.9031, allocations: 4.922 kB / 1.197 GB, free: 9.602 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003582/0.9035, allocations: 361.3 kB / 1.197 GB, free: 9.445 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9035, allocations: 0 / 1.197 GB, free: 9.445 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002877/0.9038, allocations: 47.28 kB / 1.197 GB, free: 9.438 MB / 1.076 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.001594/0.9054, allocations: 453.3 kB / 1.197 GB, free: 9.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002656/0.9056, allocations: 110 kB / 1.198 GB, free: 9.191 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9056, allocations: 0 / 1.198 GB, free: 9.191 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-05/0.9057, allocations: 35.14 kB / 1.198 GB, free: 9.184 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.9061, allocations: 71.86 kB / 1.198 GB, free: 9.156 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.9073, allocations: 0.7109 MB / 1.198 GB, free: 8.754 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.9075, allocations: 222.5 kB / 1.199 GB, free: 8.656 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.9076, allocations: 30.92 kB / 1.199 GB, free: 8.652 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.9077, allocations: 30.77 kB / 1.199 GB, free: 8.637 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.9077, allocations: 0 / 1.199 GB, free: 8.637 MB / 1.076 GB Notification: Performance of Templates: time 0.008752/0.9165, allocations: 3.17 MB / 1.202 GB, free: 8.203 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 800] 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/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: 8.853162407991476]