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.001999/0.001999, allocations: 82.33 kB / 19.77 MB, free: 2.016 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.002296/0.002296, allocations: 152.3 kB / 23.01 MB, free: 4.965 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.602/1.602, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.824/2.824, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 176] 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: 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: 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.002406/0.002406, allocations: 67.89 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4194, allocations: 169.9 MB / 1.117 GB, free: 2.508 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.005518/0.4249, allocations: 2.225 MB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.4281, allocations: 1.49 MB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.4283, allocations: 0 / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000732/0.429, allocations: 171.1 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005526/0.4296, allocations: 187.1 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.43, allocations: 139.5 kB / 1.122 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004311/0.4304, allocations: 279 kB / 1.122 GB, free: 14.01 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.4306, allocations: 32.92 kB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.4308, allocations: 115.4 kB / 1.122 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.431, allocations: 111.5 kB / 1.122 GB, free: 13.76 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.431, allocations: 16 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.4312, allocations: 55.92 kB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.4314, allocations: 107.6 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.4315, allocations: 103.2 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.4321, allocations: 417.9 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4321, allocations: 0 / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.274e-06/0.4321, allocations: 0 / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.4321, allocations: 4 kB / 1.123 GB, free: 13.07 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.001289/0.4334, allocations: 0.6514 MB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4335, allocations: 8.031 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.4336, allocations: 52.61 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.4342, allocations: 357.3 kB / 1.124 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4342, allocations: 8.375 kB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.4343, allocations: 15.94 kB / 1.124 GB, free: 11.92 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002656/0.4345, allocations: 119.3 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4345, allocations: 3.938 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4345, allocations: 0 / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4345, allocations: 4 kB / 1.124 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.4347, allocations: 63.84 kB / 1.124 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.4355, allocations: 408.2 kB / 1.124 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.4358, allocations: 98.62 kB / 1.124 GB, free: 11.19 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.4358, allocations: 32.84 kB / 1.125 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.4359, allocations: 4 kB / 1.125 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.4361, allocations: 109.1 kB / 1.125 GB, free: 11.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.4361, allocations: 3.938 kB / 1.125 GB, free: 11.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0004351/0.4365, allocations: 169.4 kB / 1.125 GB, free: 10.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.4366, allocations: 59.28 kB / 1.125 GB, free: 10.78 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006755/0.4373, allocations: 0.5146 MB / 1.125 GB, free: 10.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.4373, allocations: 33.69 kB / 1.125 GB, free: 10.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.4375, allocations: 220 kB / 1.126 GB, free: 9.996 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.4376, allocations: 31.73 kB / 1.126 GB, free: 9.965 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.4377, allocations: 49.7 kB / 1.126 GB, free: 9.91 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002288/0.4379, allocations: 362.8 kB / 1.126 GB, free: 9.547 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.438, allocations: 51.97 kB / 1.126 GB, free: 9.496 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.4382, allocations: 100.2 kB / 1.126 GB, free: 9.383 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.4384, allocations: 100.1 kB / 1.126 GB, free: 9.281 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4384, allocations: 384 / 1.126 GB, free: 9.281 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003587/0.4388, allocations: 209.2 kB / 1.126 GB, free: 9.07 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4388, allocations: 4 kB / 1.126 GB, free: 9.066 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4388, allocations: 4.062 kB / 1.126 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4388, allocations: 11.92 kB / 1.126 GB, free: 9.051 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.439, allocations: 39.92 kB / 1.127 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.439, allocations: 3.984 kB / 1.127 GB, free: 9.008 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4392, allocations: 19.94 kB / 1.127 GB, free: 8.988 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.4392, allocations: 8 kB / 1.127 GB, free: 8.98 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.0002399/0.4394, allocations: 185.8 kB / 1.127 GB, free: 8.789 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.435e-05/0.4395, allocations: 55.55 kB / 1.127 GB, free: 8.734 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003463/0.4398, allocations: 157.8 kB / 1.127 GB, free: 8.574 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4398, allocations: 4 kB / 1.127 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4398, allocations: 0 / 1.127 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4398, allocations: 7.875 kB / 1.127 GB, free: 8.562 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.4401, allocations: 253.1 kB / 1.127 GB, free: 8.285 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4401, allocations: 4 kB / 1.127 GB, free: 8.281 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.4402, allocations: 11.98 kB / 1.127 GB, free: 8.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4402, allocations: 3.938 kB / 1.127 GB, free: 8.266 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.4402, allocations: 4 kB / 1.127 GB, free: 8.262 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4402, allocations: 0 / 1.127 GB, free: 8.262 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.4402, allocations: 4 kB / 1.127 GB, free: 8.258 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/0.4407, allocations: 224.7 kB / 1.127 GB, free: 8.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.4407, allocations: 39.69 kB / 1.127 GB, free: 7.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.4408, allocations: 4 kB / 1.127 GB, free: 7.977 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.4409, allocations: 11.98 kB / 1.127 GB, free: 7.965 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.4409, allocations: 7.984 kB / 1.127 GB, free: 7.957 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.4409, allocations: 7.984 kB / 1.127 GB, free: 7.949 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000443/0.4414, allocations: 358.8 kB / 1.128 GB, free: 7.602 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4414, allocations: 0 / 1.128 GB, free: 7.602 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002969/0.4417, allocations: 51.89 kB / 1.128 GB, free: 7.551 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.001837/0.4435, allocations: 466.3 kB / 1.128 GB, free: 7.273 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.4438, allocations: 102.3 kB / 1.128 GB, free: 7.176 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4438, allocations: 0 / 1.128 GB, free: 7.176 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.4439, allocations: 39.97 kB / 1.128 GB, free: 7.137 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.4444, allocations: 70.56 kB / 1.129 GB, free: 7.07 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.4457, allocations: 0.6994 MB / 1.129 GB, free: 6.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.446, allocations: 228.8 kB / 1.129 GB, free: 6.098 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.4461, allocations: 41.91 kB / 1.129 GB, free: 6.059 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.4462, allocations: 32.44 kB / 1.129 GB, free: 6.027 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.4462, allocations: 0 / 1.129 GB, free: 6.027 MB / 1.076 GB Notification: Performance of Templates: time 0.009247/0.4554, allocations: 3.165 MB / 1.133 GB, free: 2.918 MB / 1.076 GB " [Timeout remaining time 300] 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 ida -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/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: 9.625310505041853]