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.002552/0.002552, allocations: 85.48 kB / 19.44 MB, free: 344 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.003344/0.003344, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.647/1.647, allocations: 177.1 MB / 203.1 MB, free: 5.633 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.426/3.426, allocations: 429.4 MB / 0.6729 GB, free: 4.027 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.124e-06/2.124e-06, allocations: 3.938 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.186e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004424/0.004456, allocations: 2.28 MB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.007417, allocations: 1.545 MB / 0.8812 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.007548, allocations: 0 / 0.8812 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006787/0.008227, allocations: 183.9 kB / 0.8814 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005018/0.008729, allocations: 189.1 kB / 0.8816 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.009099, allocations: 135.4 kB / 0.8817 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000445/0.009544, allocations: 286.9 kB / 0.882 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.009713, allocations: 32.92 kB / 0.882 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.009977, allocations: 155.6 kB / 0.8821 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.01018, allocations: 87.7 kB / 0.8822 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/0.01023, allocations: 16 kB / 0.8822 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.0104, allocations: 63.8 kB / 0.8823 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.01055, allocations: 103.6 kB / 0.8824 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.01067, allocations: 71.66 kB / 0.8825 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.01128, allocations: 398.5 kB / 0.8828 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.01128, allocations: 0 / 0.8828 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/0.01129, allocations: 0 / 0.8828 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.01129, allocations: 4 kB / 0.8828 GB, free: 1.133 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.001297/0.01259, allocations: 0.7745 MB / 0.8836 GB, free: 328 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.01263, allocations: 12.03 kB / 0.8836 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.01275, allocations: 60.53 kB / 0.8837 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009143/0.01367, allocations: 347.4 kB / 0.884 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.01369, allocations: 8.375 kB / 0.884 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.01372, allocations: 12.38 kB / 0.884 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.01398, allocations: 115.7 kB / 0.8841 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.01399, allocations: 4 kB / 0.8841 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.014, allocations: 0 / 0.8841 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.01401, allocations: 4 kB / 0.8841 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.01418, allocations: 55.84 kB / 0.8842 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009795/0.01516, allocations: 0.5229 MB / 0.8847 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.01542, allocations: 99.12 kB / 0.8848 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-05/0.0155, allocations: 31.69 kB / 0.8848 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.01553, allocations: 0 / 0.8848 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.01575, allocations: 122.7 kB / 0.885 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.01575, allocations: 0 / 0.885 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0004409/0.01619, allocations: 169.2 kB / 0.8851 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.01625, allocations: 63.33 kB / 0.8852 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007456/0.017, allocations: 0.5926 MB / 0.8858 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.01703, allocations: 29.7 kB / 0.8858 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.01732, allocations: 306.8 kB / 0.8861 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/0.01736, allocations: 31.73 kB / 0.8861 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01747, allocations: 67.3 kB / 0.8862 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003761/0.01785, allocations: 0.5665 MB / 0.8867 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.01796, allocations: 39.98 kB / 0.8868 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.01813, allocations: 112.7 kB / 0.8869 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.01834, allocations: 105.7 kB / 0.887 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01834, allocations: 0 / 0.887 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003809/0.01873, allocations: 205.3 kB / 0.8872 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.01874, allocations: 4 kB / 0.8872 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.01875, allocations: 3.938 kB / 0.8872 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.01877, allocations: 4 kB / 0.8872 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.01897, allocations: 43.84 kB / 0.8872 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01897, allocations: 0 / 0.8872 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.01909, allocations: 20.02 kB / 0.8872 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.01912, allocations: 4 kB / 0.8872 GB, free: 12.39 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.000203/0.01932, allocations: 187.4 kB / 0.8874 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.01939, allocations: 55.67 kB / 0.8875 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.01973, allocations: 149.6 kB / 0.8876 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.01974, allocations: 4 kB / 0.8876 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01974, allocations: 0 / 0.8876 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.01975, allocations: 3.984 kB / 0.8876 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.02018, allocations: 324.4 kB / 0.8879 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.02018, allocations: 4 kB / 0.8879 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.02025, allocations: 15.92 kB / 0.8879 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.02025, allocations: 0 / 0.8879 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.02028, allocations: 8 kB / 0.888 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.02028, allocations: 3.938 kB / 0.888 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.02028, allocations: 0 / 0.888 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.0207, allocations: 220 kB / 0.8882 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.292e-05/0.02078, allocations: 47.7 kB / 0.8882 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.02082, allocations: 0 / 0.8882 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.0209, allocations: 7.938 kB / 0.8882 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.02097, allocations: 15.97 kB / 0.8882 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.02098, allocations: 8.031 kB / 0.8882 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004413/0.02142, allocations: 370.8 kB / 0.8886 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.02142, allocations: 0 / 0.8886 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002981/0.02172, allocations: 51.89 kB / 0.8886 GB, free: 10.87 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.002933/0.02465, allocations: 442.9 kB / 0.8891 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.02496, allocations: 117.4 kB / 0.8892 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02497, allocations: 0 / 0.8892 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.02507, allocations: 43.67 kB / 0.8892 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.02553, allocations: 80.17 kB / 0.8893 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.02681, allocations: 0.6326 MB / 0.8899 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.02707, allocations: 221.9 kB / 0.8901 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.02717, allocations: 29.94 kB / 0.8902 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.278e-05/0.02724, allocations: 24.5 kB / 0.8902 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/0.02724, allocations: 0 / 0.8902 GB, free: 9.422 MB / 0.8542 GB Notification: Performance of Templates: time 0.009388/0.03663, allocations: 3.167 MB / 0.8933 GB, free: 6.312 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=240 -emit_protected -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","/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.081731900922023]