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.001456/0.001456, allocations: 83.59 kB / 20.45 MB, free: 4.109 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.001571/0.001571, allocations: 165 kB / 23.82 MB, free: 0.7383 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 0.9008/0.9008, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.718/1.718, allocations: 359 MB / 0.6052 GB, free: 11.02 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.773e-06/1.773e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.061e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003071/0.003092, allocations: 2.317 MB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.004869, allocations: 1.556 MB / 0.7909 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.004994, allocations: 8.594 kB / 0.7909 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005329/0.005527, allocations: 175.7 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.005944, allocations: 188 kB / 0.7912 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.00623, allocations: 141.1 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.006528, allocations: 290.9 kB / 0.7917 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.006649, allocations: 28.92 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000559/0.007208, allocations: 249.4 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.007317, allocations: 73.62 kB / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.007342, allocations: 8 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.007449, allocations: 59.91 kB / 0.7921 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.79e-05/0.007527, allocations: 95.61 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.557e-05/0.007592, allocations: 71.66 kB / 0.7922 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.007899, allocations: 259.5 kB / 0.7925 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.007902, allocations: 4 kB / 0.7925 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.007902, allocations: 0.7188 kB / 0.7925 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.007907, allocations: 0 / 0.7925 GB, free: 7.02 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.0006668/0.008573, allocations: 0.7564 MB / 0.7932 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.008603, allocations: 8.031 kB / 0.7932 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.937e-05/0.008672, allocations: 61.17 kB / 0.7933 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.008965, allocations: 336.5 kB / 0.7936 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.008984, allocations: 8.375 kB / 0.7936 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.009005, allocations: 4.375 kB / 0.7936 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.009163, allocations: 121.5 kB / 0.7937 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.00917, allocations: 3.938 kB / 0.7937 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.00918, allocations: 0.5625 kB / 0.7937 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.009187, allocations: 5.125 kB / 0.7937 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.009259, allocations: 30.31 kB / 0.7938 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004984/0.009758, allocations: 500 kB / 0.7942 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.009887, allocations: 80.27 kB / 0.7943 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.009919, allocations: 15.69 kB / 0.7943 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.009936, allocations: 5.031 kB / 0.7943 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001114/0.01005, allocations: 110.6 kB / 0.7944 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.01005, allocations: 0.8438 kB / 0.7944 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002216/0.01027, allocations: 145.3 kB / 0.7946 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.0103, allocations: 53.62 kB / 0.7946 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.01064, allocations: 0.5339 MB / 0.7952 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.01066, allocations: 33.7 kB / 0.7952 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.0108, allocations: 290.8 kB / 0.7955 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.01083, allocations: 31.88 kB / 0.7955 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.01088, allocations: 55.34 kB / 0.7955 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.01104, allocations: 0.5574 MB / 0.7961 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.01109, allocations: 23.98 kB / 0.7961 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.01116, allocations: 90.42 kB / 0.7962 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.702e-05/0.01125, allocations: 73.3 kB / 0.7963 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01125, allocations: 0 / 0.7963 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001782/0.01143, allocations: 175.7 kB / 0.7964 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.01144, allocations: 8 kB / 0.7964 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01144, allocations: 0 / 0.7964 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.01146, allocations: 3.938 kB / 0.7964 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.01156, allocations: 36.42 kB / 0.7965 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01157, allocations: 4.531 kB / 0.7965 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.01163, allocations: 15.89 kB / 0.7965 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.01165, allocations: 12.55 kB / 0.7965 GB, free: 2.648 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 9.559e-05/0.01175, allocations: 181.9 kB / 0.7967 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.01178, allocations: 43.72 kB / 0.7967 GB, free: 2.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.01194, allocations: 134.3 kB / 0.7969 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01195, allocations: 3.938 kB / 0.7969 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.01195, allocations: 1.094 kB / 0.7969 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.01195, allocations: 0 / 0.7969 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.01215, allocations: 292.5 kB / 0.7971 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01215, allocations: 3.969 kB / 0.7971 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.01219, allocations: 11.98 kB / 0.7972 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01219, allocations: 0 / 0.7972 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.0122, allocations: 4 kB / 0.7972 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01221, allocations: 4 kB / 0.7972 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01221, allocations: 3.938 kB / 0.7972 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.01239, allocations: 188 kB / 0.7973 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.01242, allocations: 35.72 kB / 0.7974 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.01245, allocations: 7.984 kB / 0.7974 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.921e-05/0.01249, allocations: 4 kB / 0.7974 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.01253, allocations: 20.78 kB / 0.7974 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-06/0.01254, allocations: 4 kB / 0.7974 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002039/0.01275, allocations: 335.8 kB / 0.7977 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01275, allocations: 0 / 0.7977 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001799/0.01293, allocations: 51.88 kB / 0.7978 GB, free: 1.273 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.0007865/0.01371, allocations: 404.5 kB / 0.7982 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.01386, allocations: 87.52 kB / 0.7983 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01387, allocations: 0 / 0.7983 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.894e-05/0.01391, allocations: 39.61 kB / 0.7983 GB, free: 0.8906 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01416, allocations: 67.02 kB / 0.7984 GB, free: 0.8281 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008089/0.01497, allocations: 0.6248 MB / 0.799 GB, free: 172 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.889e-05/0.01504, allocations: 124.2 kB / 0.7991 GB, free: 28 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.733e-05/0.01513, allocations: 34 kB / 0.7991 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.01518, allocations: 24.5 kB / 0.7991 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/0.01518, allocations: 0 / 0.7991 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of Templates: time 0.006014/0.02119, allocations: 3.327 MB / 0.8024 GB, free: 12.71 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: 4.803295515943319]