Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002225/0.002225, allocations: 77.25 kB / 19.18 MB, free: 2.512 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.003835/0.003835, allocations: 166.3 kB / 22.46 MB, free: 5.391 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.599/1.599, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.958/2.958, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.422e-05/5.704e-05, allocations: 5.375 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.007062/0.007119, allocations: 2.218 MB / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004769/0.01189, allocations: 1.505 MB / 0.9851 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004287/0.01232, allocations: 0 / 0.9851 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.01347, allocations: 182.9 kB / 0.9853 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.01459, allocations: 178.6 kB / 0.9854 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007185/0.01531, allocations: 143.4 kB / 0.9856 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007775/0.01609, allocations: 294.9 kB / 0.9858 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.01636, allocations: 32.91 kB / 0.9859 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005053/0.01686, allocations: 151.6 kB / 0.986 GB, free: 7.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.0172, allocations: 95.7 kB / 0.9861 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.552e-05/0.01728, allocations: 16 kB / 0.9861 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.01755, allocations: 59.84 kB / 0.9862 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.01779, allocations: 107.6 kB / 0.9863 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.018, allocations: 67.67 kB / 0.9864 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009988/0.019, allocations: 394.5 kB / 0.9867 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.019, allocations: 0 / 0.9867 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.495e-06/0.01901, allocations: 0 / 0.9867 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.265e-05/0.01903, allocations: 0 / 0.9867 GB, free: 6.523 MB / 0.9356 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.00212/0.02115, allocations: 0.6514 MB / 0.9874 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.075e-05/0.02122, allocations: 11.97 kB / 0.9874 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.02145, allocations: 52.59 kB / 0.9874 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.02251, allocations: 356.6 kB / 0.9878 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.02254, allocations: 8.375 kB / 0.9878 GB, free: 5.391 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.02259, allocations: 4.375 kB / 0.9878 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.02301, allocations: 123.7 kB / 0.9879 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.02303, allocations: 3.938 kB / 0.9879 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.02305, allocations: 4 kB / 0.9879 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.02306, allocations: 4 kB / 0.9879 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.0233, allocations: 59.91 kB / 0.988 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.02456, allocations: 416.2 kB / 0.9884 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.02491, allocations: 90.7 kB / 0.9884 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.02503, allocations: 32.84 kB / 0.9885 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.02507, allocations: 3.984 kB / 0.9885 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.02536, allocations: 113 kB / 0.9886 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 2.796e-06/0.02536, allocations: 4 kB / 0.9886 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0006516/0.02601, allocations: 181.5 kB / 0.9888 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.02609, allocations: 55.5 kB / 0.9888 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009766/0.02706, allocations: 0.5107 MB / 0.9893 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.02711, allocations: 29.7 kB / 0.9893 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.0274, allocations: 228 kB / 0.9896 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.02746, allocations: 23.8 kB / 0.9896 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.0276, allocations: 61.58 kB / 0.9896 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002574/0.02786, allocations: 354.8 kB / 0.99 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.02802, allocations: 47.97 kB / 0.99 GB, free: 2.949 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.02824, allocations: 106.5 kB / 0.9901 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.02853, allocations: 101.6 kB / 0.9902 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.02853, allocations: 0 / 0.9902 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005633/0.02909, allocations: 215.8 kB / 0.9904 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.02912, allocations: 4 kB / 0.9904 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.02913, allocations: 3.938 kB / 0.9904 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.02916, allocations: 3.938 kB / 0.9904 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.02945, allocations: 35.92 kB / 0.9905 GB, free: 2.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.02946, allocations: 8.062 kB / 0.9905 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.02968, allocations: 11.98 kB / 0.9905 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.02973, allocations: 8 kB / 0.9905 GB, free: 2.438 MB / 0.9356 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.0003293/0.03006, allocations: 188.2 kB / 0.9907 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.03016, allocations: 47.67 kB / 0.9907 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.03064, allocations: 165.6 kB / 0.9909 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.03065, allocations: 4 kB / 0.9909 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.03066, allocations: 3.984 kB / 0.9909 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.03066, allocations: 0 / 0.9909 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.03108, allocations: 253.1 kB / 0.9911 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.03109, allocations: 0 / 0.9911 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.454e-05/0.03118, allocations: 11.98 kB / 0.9911 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.03119, allocations: 4 kB / 0.9912 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.03121, allocations: 0 / 0.9912 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.298e-06/0.03122, allocations: 3.938 kB / 0.9912 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.03122, allocations: 0 / 0.9912 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.03185, allocations: 224.7 kB / 0.9914 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.03198, allocations: 47.7 kB / 0.9914 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.03204, allocations: 4 kB / 0.9914 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.03219, allocations: 19.98 kB / 0.9914 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.03228, allocations: 11.97 kB / 0.9915 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.03231, allocations: 4 kB / 0.9915 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006176/0.03292, allocations: 358.8 kB / 0.9918 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.03292, allocations: 0 / 0.9918 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000477/0.0334, allocations: 47.92 kB / 0.9918 GB, free: 1.008 MB / 0.9356 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.002424/0.03583, allocations: 456.2 kB / 0.9923 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.03627, allocations: 107.9 kB / 0.9924 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.03628, allocations: 0 / 0.9924 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.03643, allocations: 31.98 kB / 0.9924 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006816/0.03711, allocations: 77.16 kB / 0.9925 GB, free: 0.5273 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.03908, allocations: 0.6731 MB / 0.9931 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.03948, allocations: 224.7 kB / 0.9934 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.03966, allocations: 33.92 kB / 0.9934 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.03977, allocations: 32.48 kB / 0.9934 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of SimCode: time 1.312e-06/0.03978, allocations: 8 kB / 0.9934 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of Templates: time 0.01334/0.05312, allocations: 3.166 MB / 0.9965 GB, free: 12.41 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.239790100604296]