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.001868/0.001868, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002672/0.002672, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.645/1.645, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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 3.498/3.498, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.644e-05/4.896e-05, allocations: 6.312 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004888/0.004937, allocations: 2.235 MB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003113/0.00805, allocations: 1.488 MB / 0.8812 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.008196, allocations: 7.938 kB / 0.8813 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007018/0.008898, allocations: 179.5 kB / 0.8814 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000593/0.009491, allocations: 182 kB / 0.8816 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.009871, allocations: 139.4 kB / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.01032, allocations: 286.9 kB / 0.882 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.01049, allocations: 36.91 kB / 0.882 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.01074, allocations: 147.6 kB / 0.8822 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.01094, allocations: 96.25 kB / 0.8823 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.818e-05/0.01098, allocations: 12 kB / 0.8823 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.01114, allocations: 65.23 kB / 0.8823 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.01129, allocations: 99.62 kB / 0.8824 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.01141, allocations: 75.66 kB / 0.8825 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.01226, allocations: 394.5 kB / 0.8829 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.01227, allocations: 0 / 0.8829 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01227, allocations: 4 kB / 0.8829 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.896e-06/0.01228, allocations: 0 / 0.8829 GB, free: 1.113 MB / 0.8386 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.001341/0.01362, allocations: 0.6436 MB / 0.8835 GB, free: 448 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.01366, allocations: 11.97 kB / 0.8835 GB, free: 436 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.0138, allocations: 64.59 kB / 0.8836 GB, free: 372 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.01445, allocations: 360.6 kB / 0.8839 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.01447, allocations: 12.38 kB / 0.884 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.01452, allocations: 8.375 kB / 0.884 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.01479, allocations: 119.7 kB / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.0148, allocations: 0 / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.01482, allocations: 4 kB / 0.8841 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.829e-05/0.01484, allocations: 7.938 kB / 0.8841 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.015, allocations: 51.97 kB / 0.8841 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.01585, allocations: 416.2 kB / 0.8845 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.01614, allocations: 98.64 kB / 0.8846 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.01624, allocations: 32.86 kB / 0.8847 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.02e-05/0.01627, allocations: 3.984 kB / 0.8847 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002407/0.01651, allocations: 113 kB / 0.8848 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.01651, allocations: 0 / 0.8848 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0005065/0.01702, allocations: 177.2 kB / 0.8849 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.01707, allocations: 55.41 kB / 0.885 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/0.01781, allocations: 0.5067 MB / 0.8855 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.01785, allocations: 29.7 kB / 0.8855 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.01809, allocations: 236.1 kB / 0.8857 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.01813, allocations: 31.78 kB / 0.8858 GB, free: 14 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.01823, allocations: 49.64 kB / 0.8858 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002421/0.01847, allocations: 358.8 kB / 0.8862 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.0186, allocations: 51.97 kB / 0.8862 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.01879, allocations: 106.6 kB / 0.8863 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.01903, allocations: 104.3 kB / 0.8864 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01903, allocations: 0 / 0.8864 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004343/0.01947, allocations: 217.4 kB / 0.8866 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.01949, allocations: 6.5 kB / 0.8866 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.01949, allocations: 3.938 kB / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.01952, allocations: 4 kB / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.01973, allocations: 39.91 kB / 0.8867 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.01974, allocations: 4 kB / 0.8867 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.01988, allocations: 23.88 kB / 0.8867 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.01991, allocations: 4 kB / 0.8867 GB, free: 13.01 MB / 0.8542 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.0002394/0.02015, allocations: 188.6 kB / 0.8869 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.996e-05/0.02023, allocations: 59.7 kB / 0.8869 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.0206, allocations: 165.6 kB / 0.8871 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.0206, allocations: 0 / 0.8871 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.02061, allocations: 0 / 0.8871 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.02061, allocations: 4 kB / 0.8871 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.02095, allocations: 245.2 kB / 0.8873 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.02095, allocations: 0 / 0.8873 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.761e-05/0.02102, allocations: 11.98 kB / 0.8873 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.02102, allocations: 0 / 0.8873 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.02104, allocations: 4 kB / 0.8873 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.02104, allocations: 7.938 kB / 0.8874 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02105, allocations: 0 / 0.8874 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.0215, allocations: 224.7 kB / 0.8876 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.02158, allocations: 39.69 kB / 0.8876 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.02162, allocations: 8 kB / 0.8876 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.02172, allocations: 11.92 kB / 0.8876 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.02178, allocations: 11.98 kB / 0.8876 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.0218, allocations: 7.984 kB / 0.8876 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004617/0.02226, allocations: 358.8 kB / 0.888 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02226, allocations: 0 / 0.888 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003088/0.02257, allocations: 55.95 kB / 0.888 GB, free: 11.57 MB / 0.8542 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.002068/0.02464, allocations: 457.7 kB / 0.8885 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.02494, allocations: 101.6 kB / 0.8886 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02494, allocations: 0 / 0.8886 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.02505, allocations: 39.92 kB / 0.8886 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.02552, allocations: 72.91 kB / 0.8887 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.02682, allocations: 0.6896 MB / 0.8894 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.0271, allocations: 224.8 kB / 0.8896 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004068/0.02751, allocations: 37.92 kB / 0.8896 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.895e-05/0.02759, allocations: 28.48 kB / 0.8896 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of SimCode: time 7.51e-07/0.02759, allocations: 0 / 0.8896 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.009466/0.03706, allocations: 3.184 MB / 0.8927 GB, free: 6.949 MB / 0.8542 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=800 -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/jenkins/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: 9.048940373933874]