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.001342/0.001342, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.00159/0.00159, allocations: 200.3 kB / 22.17 MB, free: 5.203 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.499/1.499, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.825/2.825, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assFue.assMes.u|assFue.mFue_flow",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 67.89 kB / 1.109 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8313/0.8335, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004552/0.8381, allocations: 2.289 MB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.8408, allocations: 1.467 MB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.841, allocations: 7.938 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.8416, allocations: 191.3 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.8421, allocations: 143.3 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.8427, allocations: 159 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.8432, allocations: 271.1 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.8434, allocations: 32.69 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.8437, allocations: 119.5 kB / 1.279 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.8439, allocations: 115.5 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/0.844, allocations: 19.94 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.8442, allocations: 59.89 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.8443, allocations: 95.67 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.8444, allocations: 142.9 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.8451, allocations: 408.9 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.8451, allocations: 0 / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8451, allocations: 0 / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.8451, allocations: 0 / 1.279 GB, free: 15.03 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.001325/0.8464, allocations: 0.7151 MB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.8464, allocations: 15.97 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.8466, allocations: 52.55 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007083/0.8473, allocations: 420.5 kB / 1.281 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.8473, allocations: 384 / 1.281 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.8473, allocations: 15.94 kB / 1.281 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.8476, allocations: 89.64 kB / 1.281 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.8476, allocations: 0 / 1.281 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.8476, allocations: 12 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.8476, allocations: 3.938 kB / 1.281 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.8477, allocations: 51.97 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009277/0.8487, allocations: 492.5 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004003/0.8491, allocations: 102.7 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.882e-05/0.8492, allocations: 36.84 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.8492, allocations: 0 / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002011/0.8494, allocations: 95.3 kB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.8494, allocations: 0 / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004474/0.8498, allocations: 181.2 kB / 1.282 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.8499, allocations: 55.41 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006046/0.8505, allocations: 0.495 MB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.8505, allocations: 33.7 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.8507, allocations: 220 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.8508, allocations: 27.92 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.8509, allocations: 49.66 kB / 1.282 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.8511, allocations: 358.8 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.8512, allocations: 55.97 kB / 1.283 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.8513, allocations: 74.55 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.8515, allocations: 104.4 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.8516, allocations: 0 / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003781/0.8519, allocations: 205.6 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.8519, allocations: 4 kB / 1.283 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.852, allocations: 8.062 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.852, allocations: 0 / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.8522, allocations: 47.84 kB / 1.283 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.8522, allocations: 4 kB / 1.283 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.8523, allocations: 11.89 kB / 1.283 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.8523, allocations: 15.98 kB / 1.283 GB, free: 10.79 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.0002107/0.8525, allocations: 193.6 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.8526, allocations: 47.67 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.8529, allocations: 165.5 kB / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.8529, allocations: 0 / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.8529, allocations: 0 / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.8529, allocations: 0 / 1.284 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.8533, allocations: 317.4 kB / 1.284 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.8533, allocations: 4 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.8533, allocations: 8 kB / 1.284 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8533, allocations: 0 / 1.284 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.8533, allocations: 4 kB / 1.284 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.8533, allocations: 0 / 1.284 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.8534, allocations: 8 kB / 1.284 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.8538, allocations: 224.6 kB / 1.284 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.8539, allocations: 108.8 kB / 1.284 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.611e-05/0.8539, allocations: 8 kB / 1.284 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/0.854, allocations: 7.984 kB / 1.284 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.8541, allocations: 11.98 kB / 1.284 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.8541, allocations: 4 kB / 1.284 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004053/0.8545, allocations: 354.9 kB / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8545, allocations: 0 / 1.285 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003111/0.8548, allocations: 59.88 kB / 1.285 GB, free: 9.188 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 (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 (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.00159/0.8564, allocations: 428.9 kB / 1.285 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.8567, allocations: 103.9 kB / 1.285 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8567, allocations: 0 / 1.285 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.8568, allocations: 43.98 kB / 1.285 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.8572, allocations: 71.11 kB / 1.285 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.8585, allocations: 0.6985 MB / 1.286 GB, free: 8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.859, allocations: 0.822 MB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.8591, allocations: 33.94 kB / 1.287 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.8592, allocations: 35.42 kB / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.8592, allocations: 0 / 1.287 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of Templates: time 0.00855/0.8678, allocations: 3.115 MB / 1.29 GB, free: 3.996 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] 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: 8.917151387315243]