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.001379/0.001379, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 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.001572/0.001572, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.02/1.02, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.75/1.75, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.72e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002677/0.002694, allocations: 2.297 MB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.004507, allocations: 1.552 MB / 0.7909 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.004638, allocations: 4.625 kB / 0.7909 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005074/0.005145, allocations: 183.3 kB / 0.791 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003912/0.005536, allocations: 185.6 kB / 0.7912 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.005805, allocations: 131.5 kB / 0.7914 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.006081, allocations: 290.8 kB / 0.7916 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.006201, allocations: 36.89 kB / 0.7917 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.00636, allocations: 148.4 kB / 0.7918 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.006484, allocations: 91.7 kB / 0.7919 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.006507, allocations: 13.66 kB / 0.7919 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.00661, allocations: 67.8 kB / 0.792 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.006695, allocations: 99.61 kB / 0.7921 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.341e-05/0.006769, allocations: 79.64 kB / 0.7921 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.007052, allocations: 264 kB / 0.7924 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.007054, allocations: 7.938 kB / 0.7924 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.007054, allocations: 0 / 0.7924 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.00706, allocations: 4.922 kB / 0.7924 GB, free: 7.391 MB / 0.7448 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.0006729/0.007733, allocations: 0.7568 MB / 0.7931 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.007765, allocations: 11.97 kB / 0.7932 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.007834, allocations: 56.61 kB / 0.7932 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.008153, allocations: 343.4 kB / 0.7935 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.008169, allocations: 13.72 kB / 0.7935 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.008191, allocations: 12.38 kB / 0.7936 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.008344, allocations: 120.3 kB / 0.7937 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.00835, allocations: 0.5625 kB / 0.7937 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.00836, allocations: 0 / 0.7937 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.008366, allocations: 0.5625 kB / 0.7937 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/0.008437, allocations: 33.38 kB / 0.7937 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.00894, allocations: 0.4916 MB / 0.7942 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.009061, allocations: 71.55 kB / 0.7943 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.009097, allocations: 25.5 kB / 0.7943 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.009113, allocations: 4 kB / 0.7943 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.009231, allocations: 102.7 kB / 0.7944 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.012e-06/0.009232, allocations: 0.9062 kB / 0.7944 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002116/0.009443, allocations: 149.3 kB / 0.7945 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.009472, allocations: 51.94 kB / 0.7946 GB, free: 5 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.009831, allocations: 0.5383 MB / 0.7951 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.009848, allocations: 29.7 kB / 0.7951 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.00999, allocations: 291.9 kB / 0.7954 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/0.01002, allocations: 35.88 kB / 0.7954 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.01008, allocations: 51.3 kB / 0.7955 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.01023, allocations: 0.5514 MB / 0.796 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.01029, allocations: 28.45 kB / 0.7961 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.055e-05/0.01036, allocations: 84.73 kB / 0.7961 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.869e-05/0.01044, allocations: 73.77 kB / 0.7962 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01045, allocations: 0 / 0.7962 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001739/0.01062, allocations: 179.8 kB / 0.7964 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.01063, allocations: 5.719 kB / 0.7964 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.01064, allocations: 8.875 kB / 0.7964 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.01064, allocations: 3.938 kB / 0.7964 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.01076, allocations: 41.25 kB / 0.7964 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.01076, allocations: 0 / 0.7964 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/0.01082, allocations: 15.98 kB / 0.7965 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.01084, allocations: 4.906 kB / 0.7965 GB, free: 3.004 MB / 0.7448 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 8.837e-05/0.01092, allocations: 170.5 kB / 0.7966 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.01096, allocations: 53.98 kB / 0.7967 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.01113, allocations: 141.6 kB / 0.7968 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01113, allocations: 0 / 0.7968 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01113, allocations: 4 kB / 0.7968 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01114, allocations: 0 / 0.7968 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.01134, allocations: 296.4 kB / 0.7971 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01134, allocations: 3.438 kB / 0.7971 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.01138, allocations: 11.94 kB / 0.7971 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.01138, allocations: 0 / 0.7971 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.0114, allocations: 8 kB / 0.7971 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.0114, allocations: 3.938 kB / 0.7971 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.0114, allocations: 0 / 0.7971 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.01158, allocations: 188.1 kB / 0.7973 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.559e-05/0.01162, allocations: 47.66 kB / 0.7973 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.01164, allocations: 4 kB / 0.7973 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.01169, allocations: 12.56 kB / 0.7974 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.01173, allocations: 12.47 kB / 0.7974 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-06/0.01174, allocations: 4.969 kB / 0.7974 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002086/0.01195, allocations: 338.8 kB / 0.7977 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01195, allocations: 0 / 0.7977 GB, free: 1.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001892/0.01213, allocations: 45 kB / 0.7977 GB, free: 1.617 MB / 0.7448 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.0007774/0.01291, allocations: 398.8 kB / 0.7981 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.01308, allocations: 94.03 kB / 0.7982 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01308, allocations: 0 / 0.7982 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.668e-05/0.01313, allocations: 36.7 kB / 0.7982 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.01337, allocations: 63.7 kB / 0.7983 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000833/0.01421, allocations: 0.6215 MB / 0.7989 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.01427, allocations: 120.2 kB / 0.799 GB, free: 396 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.435e-05/0.01435, allocations: 37.92 kB / 0.7991 GB, free: 360 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.01439, allocations: 24.5 kB / 0.7991 GB, free: 336 kB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.01439, allocations: 0 / 0.7991 GB, free: 336 kB / 0.7448 GB Notification: Performance of Templates: time 0.005861/0.02025, allocations: 3.193 MB / 0.8022 GB, free: 13.2 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.071713377954438]