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.001232/0.001232, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002004/0.003235, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007458/0.0007458, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001007/0.001753, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9675/0.9675, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1178/1.085, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.468/2.468, allocations: 447.1 MB / 0.675 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2933/2.761, allocations: 146 MB / 0.8176 GB, free: 3.848 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.621e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.005019/0.005055, allocations: 2.365 MB / 0.8213 GB, free: 116 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003078/0.008133, allocations: 1.579 MB / 0.8228 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.008382, allocations: 0 / 0.8228 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006655/0.009048, allocations: 195.4 kB / 0.823 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006205/0.009668, allocations: 182.9 kB / 0.8232 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.01015, allocations: 143.4 kB / 0.8233 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.01074, allocations: 283 kB / 0.8236 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.01097, allocations: 42.77 kB / 0.8236 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008485/0.01182, allocations: 295 kB / 0.8239 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001337/0.01195, allocations: 75.67 kB / 0.824 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.01198, allocations: 12 kB / 0.824 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.01215, allocations: 55.86 kB / 0.824 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.01222, allocations: 87.64 kB / 0.8241 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.01229, allocations: 55.75 kB / 0.8242 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.01267, allocations: 250.9 kB / 0.8244 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/0.01269, allocations: 8 kB / 0.8244 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.244e-06/0.01269, allocations: 3.938 kB / 0.8244 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.0127, allocations: 0 / 0.8244 GB, free: 12.89 MB / 0.8073 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.0007988/0.0135, allocations: 0.6732 MB / 0.8251 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.01354, allocations: 8.031 kB / 0.8251 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.0136, allocations: 28.91 kB / 0.8251 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.01393, allocations: 313.8 kB / 0.8254 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.01395, allocations: 8.359 kB / 0.8254 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.01398, allocations: 8.375 kB / 0.8254 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.01415, allocations: 115.4 kB / 0.8255 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.01416, allocations: 7.875 kB / 0.8255 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.01417, allocations: 4 kB / 0.8255 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.01418, allocations: 4 kB / 0.8255 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.651e-05/0.01423, allocations: 23.92 kB / 0.8256 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004101/0.01464, allocations: 253.7 kB / 0.8258 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.01478, allocations: 101.2 kB / 0.8259 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.01481, allocations: 24.84 kB / 0.8259 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.01483, allocations: 4 kB / 0.8259 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.01496, allocations: 95.91 kB / 0.826 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 2.624e-06/0.01496, allocations: 0 / 0.826 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001633/0.01513, allocations: 93.58 kB / 0.8261 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.01516, allocations: 51.41 kB / 0.8262 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.01541, allocations: 419.3 kB / 0.8266 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.01544, allocations: 33.7 kB / 0.8266 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.01551, allocations: 153.2 kB / 0.8267 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.01554, allocations: 31.73 kB / 0.8268 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.0156, allocations: 49.67 kB / 0.8268 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01571, allocations: 370.6 kB / 0.8272 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.01574, allocations: 18.81 kB / 0.8272 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.0158, allocations: 74.83 kB / 0.8273 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.076e-05/0.01588, allocations: 71.27 kB / 0.8273 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01588, allocations: 0 / 0.8273 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001311/0.01601, allocations: 122.5 kB / 0.8274 GB, free: 9.574 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.01602, allocations: 4 kB / 0.8274 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01603, allocations: 0 / 0.8274 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.01604, allocations: 8.062 kB / 0.8275 GB, free: 9.562 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.0162, allocations: 35.97 kB / 0.8275 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01621, allocations: 7.875 kB / 0.8275 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.01626, allocations: 15.95 kB / 0.8275 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.01628, allocations: 4 kB / 0.8275 GB, free: 9.5 MB / 0.8073 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.000106/0.01638, allocations: 128.6 kB / 0.8276 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.01641, allocations: 23.97 kB / 0.8277 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001578/0.01657, allocations: 105.7 kB / 0.8278 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01657, allocations: 4 kB / 0.8278 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01657, allocations: 3.938 kB / 0.8278 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01658, allocations: 3.938 kB / 0.8278 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.01672, allocations: 165.7 kB / 0.8279 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01672, allocations: 0 / 0.8279 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.01678, allocations: 8 kB / 0.8279 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.01682, allocations: 39.67 kB / 0.828 GB, free: 8.992 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01682, allocations: 3.984 kB / 0.828 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01683, allocations: 4 kB / 0.828 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.01683, allocations: 0 / 0.828 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01683, allocations: 0 / 0.828 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.017, allocations: 142.6 kB / 0.8281 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.01702, allocations: 4 kB / 0.8281 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.532e-05/0.01707, allocations: 4 kB / 0.8281 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.01711, allocations: 15.97 kB / 0.8281 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01712, allocations: 11.94 kB / 0.8282 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001288/0.01725, allocations: 180.4 kB / 0.8283 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01725, allocations: 0 / 0.8283 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00016/0.01741, allocations: 51.88 kB / 0.8284 GB, free: 8.562 MB / 0.8073 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.001361/0.01877, allocations: 0.5699 MB / 0.8289 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001343/0.0189, allocations: 64.75 kB / 0.829 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.01892, allocations: 8 kB / 0.829 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/0.01897, allocations: 28.8 kB / 0.829 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.01932, allocations: 422.4 kB / 0.8294 GB, free: 7.688 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.02092, allocations: 0.6182 MB / 0.83 GB, free: 7.035 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.785e-05/0.02099, allocations: 124.1 kB / 0.8302 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.878e-05/0.02108, allocations: 29.94 kB / 0.8302 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.02121, allocations: 99.34 kB / 0.8303 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of SimCode: time 1.263e-06/0.02121, allocations: 0 / 0.8303 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of Templates: time 0.007085/0.02829, allocations: 3.445 MB / 0.8336 GB, free: 3.371 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.533052091486752]