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.001177/0.001177, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001872/0.001872, allocations: 173 kB / 23.49 MB, free: 1.059 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.102/1.102, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 2.293/2.293, allocations: 429.5 MB / 0.6736 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] 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.485e-06/2.485e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.66e-05/3.908e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004224/0.004263, allocations: 2.314 MB / 0.8805 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.006843, allocations: 1.55 MB / 0.882 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.007075, allocations: 3.938 kB / 0.882 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.00066/0.007735, allocations: 184 kB / 0.8822 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000539/0.008274, allocations: 189 kB / 0.8823 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.008695, allocations: 131.5 kB / 0.8825 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004264/0.009122, allocations: 286.9 kB / 0.8827 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.009293, allocations: 32.91 kB / 0.8828 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.009516, allocations: 159.5 kB / 0.8829 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.009683, allocations: 91.7 kB / 0.883 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.009716, allocations: 16 kB / 0.883 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.009873, allocations: 55.91 kB / 0.8831 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.009985, allocations: 103.6 kB / 0.8832 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/0.01008, allocations: 75.64 kB / 0.8832 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.01051, allocations: 270.8 kB / 0.8835 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.01051, allocations: 0 / 0.8835 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/0.01051, allocations: 0 / 0.8835 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.01052, allocations: 0 / 0.8835 GB, free: 1.184 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.001001/0.01152, allocations: 0.7785 MB / 0.8843 GB, free: 376 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.01157, allocations: 8.031 kB / 0.8843 GB, free: 368 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.01167, allocations: 52.61 kB / 0.8843 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.01215, allocations: 344.5 kB / 0.8846 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.01218, allocations: 8.375 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.01221, allocations: 8.375 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.01243, allocations: 119.3 kB / 0.8848 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.01244, allocations: 0 / 0.8848 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.01246, allocations: 11.98 kB / 0.8848 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.01247, allocations: 4 kB / 0.8848 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.325e-05/0.01256, allocations: 27.98 kB / 0.8848 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007099/0.01327, allocations: 0.4954 MB / 0.8853 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.01344, allocations: 67.06 kB / 0.8854 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.01349, allocations: 27.81 kB / 0.8854 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.01351, allocations: 0 / 0.8854 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.01367, allocations: 106.7 kB / 0.8855 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.01367, allocations: 4 kB / 0.8855 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003181/0.01399, allocations: 145.3 kB / 0.8856 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.01403, allocations: 51.41 kB / 0.8857 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.01451, allocations: 0.5378 MB / 0.8862 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.01453, allocations: 29.7 kB / 0.8862 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.01473, allocations: 290.8 kB / 0.8865 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.01477, allocations: 35.86 kB / 0.8866 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/0.01485, allocations: 55.36 kB / 0.8866 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.01504, allocations: 0.5547 MB / 0.8871 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.01511, allocations: 19.98 kB / 0.8872 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.954e-05/0.01521, allocations: 94.98 kB / 0.8873 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.01533, allocations: 73.88 kB / 0.8873 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.01533, allocations: 4 kB / 0.8873 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002597/0.01559, allocations: 175 kB / 0.8875 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.01561, allocations: 4 kB / 0.8875 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01562, allocations: 7.922 kB / 0.8875 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.01564, allocations: 4 kB / 0.8875 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.01581, allocations: 35.98 kB / 0.8875 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.01582, allocations: 0 / 0.8875 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.34e-05/0.01591, allocations: 12.02 kB / 0.8876 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.01594, allocations: 15.98 kB / 0.8876 GB, free: 12.77 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.0002199/0.01616, allocations: 171.5 kB / 0.8877 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.01621, allocations: 51.66 kB / 0.8878 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.01645, allocations: 138 kB / 0.8879 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01646, allocations: 0 / 0.8879 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01646, allocations: 0 / 0.8879 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01647, allocations: 0 / 0.8879 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.01674, allocations: 292.5 kB / 0.8882 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01674, allocations: 4 kB / 0.8882 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.01681, allocations: 11.98 kB / 0.8882 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.01681, allocations: 3.938 kB / 0.8882 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.01682, allocations: 0 / 0.8882 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.01683, allocations: 4 kB / 0.8882 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.01683, allocations: 0 / 0.8882 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.0171, allocations: 196 kB / 0.8884 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.01715, allocations: 43.66 kB / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.01718, allocations: 3.984 kB / 0.8885 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.676e-05/0.01724, allocations: 4 kB / 0.8885 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.0173, allocations: 20 kB / 0.8885 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.01731, allocations: 4 kB / 0.8885 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000281/0.01759, allocations: 334.8 kB / 0.8888 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01759, allocations: 0 / 0.8888 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002802/0.01787, allocations: 63.75 kB / 0.8889 GB, free: 11.38 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.001081/0.01895, allocations: 395.7 kB / 0.8892 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.01915, allocations: 79.58 kB / 0.8893 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01915, allocations: 0 / 0.8893 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.476e-05/0.01921, allocations: 39.61 kB / 0.8893 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.01951, allocations: 67.55 kB / 0.8894 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.02058, allocations: 0.6325 MB / 0.89 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.281e-05/0.02065, allocations: 120.2 kB / 0.8901 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.662e-05/0.02074, allocations: 21.95 kB / 0.8902 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.02079, allocations: 36.48 kB / 0.8902 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of SimCode: time 1.273e-06/0.02079, allocations: 0 / 0.8902 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of Templates: time 0.006817/0.02761, allocations: 3.185 MB / 0.8933 GB, free: 6.961 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.297602345002815]