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.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.001553/0.001553, allocations: 112.8 kB / 17.08 MB, free: 6 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.001755/0.001755, allocations: 193.2 kB / 20.03 MB, free: 3.07 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.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 489.3 MB / 0.7687 GB, free: 3.766 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001997/0.001997, allocations: 71.89 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003793/1.014, allocations: 2.273 MB / 1.265 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00227/1.017, allocations: 1.441 MB / 1.266 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/1.017, allocations: 5.969 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006937/1.018, allocations: 186.8 kB / 1.266 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003905/1.018, allocations: 140 kB / 1.267 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005131/1.019, allocations: 163.7 kB / 1.267 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000381/1.019, allocations: 267 kB / 1.267 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/1.019, allocations: 46.7 kB / 1.267 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/1.019, allocations: 119 kB / 1.267 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/1.02, allocations: 105.8 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.254e-05/1.02, allocations: 14.25 kB / 1.267 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/1.02, allocations: 58.94 kB / 1.267 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001276/1.02, allocations: 92.31 kB / 1.267 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/1.02, allocations: 147.8 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/1.021, allocations: 405.8 kB / 1.268 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.021, allocations: 0 / 1.268 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.833e-06/1.021, allocations: 0.7188 kB / 1.268 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.021, allocations: 0 / 1.268 GB, free: 4.582 MB / 0.9981 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.001008/1.022, allocations: 0.7206 MB / 1.269 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.022, allocations: 13.19 kB / 1.269 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/1.022, allocations: 50.02 kB / 1.269 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/1.022, allocations: 420.1 kB / 1.269 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/1.022, allocations: 7.969 kB / 1.269 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/1.023, allocations: 9.922 kB / 1.269 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/1.023, allocations: 94.14 kB / 1.269 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.023, allocations: 0 / 1.269 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/1.023, allocations: 5.344 kB / 1.269 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/1.023, allocations: 1.969 kB / 1.269 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/1.023, allocations: 53.75 kB / 1.269 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008063/1.024, allocations: 494.2 kB / 1.27 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/1.024, allocations: 115 kB / 1.27 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.603e-05/1.024, allocations: 36 kB / 1.27 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/1.024, allocations: 2.031 kB / 1.27 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/1.024, allocations: 86.39 kB / 1.27 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 2.504e-06/1.024, allocations: 0 / 1.27 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.00042/1.025, allocations: 187.5 kB / 1.27 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/1.025, allocations: 57.88 kB / 1.27 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006003/1.026, allocations: 0.4991 MB / 1.271 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/1.026, allocations: 28.17 kB / 1.271 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/1.026, allocations: 219.5 kB / 1.271 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/1.026, allocations: 35.69 kB / 1.271 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.158e-05/1.026, allocations: 49.67 kB / 1.271 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/1.026, allocations: 360.9 kB / 1.271 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/1.026, allocations: 46.75 kB / 1.271 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/1.026, allocations: 74.7 kB / 1.271 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/1.026, allocations: 100.1 kB / 1.272 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.026, allocations: 1.094 kB / 1.272 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003542/1.027, allocations: 217.7 kB / 1.272 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.027, allocations: 8.188 kB / 1.272 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.027, allocations: 0 / 1.272 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.027, allocations: 1.969 kB / 1.272 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/1.027, allocations: 42.05 kB / 1.272 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/1.027, allocations: 1.562 kB / 1.272 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/1.027, allocations: 17.52 kB / 1.272 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/1.027, allocations: 7.75 kB / 1.272 GB, free: 1.785 MB / 0.9981 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.0001766/1.027, allocations: 193.1 kB / 1.272 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/1.028, allocations: 49.36 kB / 1.272 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.262e-05/1.028, allocations: 54.3 kB / 1.272 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.028, allocations: 1.156 kB / 1.272 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.028, allocations: 1.188 kB / 1.272 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.028, allocations: 1.922 kB / 1.272 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/1.028, allocations: 316.7 kB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.028, allocations: 1.5 kB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.54e-05/1.028, allocations: 7.344 kB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/1.028, allocations: 4.719 kB / 1.272 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/1.028, allocations: 5.438 kB / 1.272 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.028, allocations: 1.406 kB / 1.272 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.028, allocations: 3.984 kB / 1.272 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/1.028, allocations: 227 kB / 1.273 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/1.028, allocations: 112 kB / 1.273 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/1.029, allocations: 5.438 kB / 1.273 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/1.029, allocations: 6.734 kB / 1.273 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/1.029, allocations: 19.44 kB / 1.273 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/1.029, allocations: 6.844 kB / 1.273 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000383/1.029, allocations: 353 kB / 1.273 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.029, allocations: 0 / 1.273 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003114/1.029, allocations: 52.48 kB / 1.273 GB, free: 0.8828 MB / 0.9981 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * 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.001517/1.031, allocations: 426.8 kB / 1.274 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003101/1.031, allocations: 114.1 kB / 1.274 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.031, allocations: 0.8438 kB / 1.274 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/1.031, allocations: 32.66 kB / 1.274 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/1.032, allocations: 77.59 kB / 1.274 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/1.033, allocations: 0.7275 MB / 1.274 GB, free: 196 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/1.034, allocations: 0.827 MB / 1.275 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/1.034, allocations: 29.28 kB / 1.275 GB, free: 15.47 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.034, allocations: 0 / 1.275 GB, free: 15.47 MB / 1.014 GB Notification: Performance of Templates: time 0.009204/1.043, allocations: 4.626 MB / 1.28 GB, free: 14.61 MB / 1.014 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 -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_2/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: 12.287061332026497]