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.001178/0.001178, allocations: 93.06 kB / 19.65 MB, free: 280 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.001385/0.001385, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9659/0.9659, allocations: 177.2 MB / 203.4 MB, free: 5.629 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.022/2.022, allocations: 429.5 MB / 0.6733 GB, free: 4.039 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 1.413e-06/1.413e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.748e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003042/0.00307, allocations: 2.312 MB / 0.8805 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.004983, allocations: 1.565 MB / 0.882 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.005137, allocations: 3.938 kB / 0.882 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.005697, allocations: 185.4 kB / 0.8822 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.006115, allocations: 187.5 kB / 0.8823 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.006405, allocations: 135.4 kB / 0.8825 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003398/0.006745, allocations: 292.5 kB / 0.8827 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.006892, allocations: 28.92 kB / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007575/0.00765, allocations: 248.5 kB / 0.883 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.007785, allocations: 68.83 kB / 0.8831 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.007818, allocations: 12 kB / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.007954, allocations: 63.84 kB / 0.8832 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.282e-05/0.008047, allocations: 95.62 kB / 0.8832 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.008121, allocations: 71.66 kB / 0.8833 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003956/0.008517, allocations: 266.8 kB / 0.8836 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008521, allocations: 0 / 0.8836 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/0.008522, allocations: 0 / 0.8836 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.008528, allocations: 0 / 0.8836 GB, free: 0.8398 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.000788/0.009316, allocations: 0.7552 MB / 0.8843 GB, free: 48 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.009353, allocations: 12.03 kB / 0.8843 GB, free: 36 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.009453, allocations: 60.64 kB / 0.8844 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.009781, allocations: 347.2 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.009803, allocations: 384 / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.009829, allocations: 16.36 kB / 0.8847 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.01001, allocations: 115.7 kB / 0.8848 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.01002, allocations: 3.938 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.01004, allocations: 0 / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.01005, allocations: 4 kB / 0.8848 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.01013, allocations: 31.91 kB / 0.8849 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.01073, allocations: 495.5 kB / 0.8853 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.01089, allocations: 71 kB / 0.8854 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.01093, allocations: 27.81 kB / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.01095, allocations: 0 / 0.8854 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.0111, allocations: 110.7 kB / 0.8855 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.0111, allocations: 0 / 0.8855 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0002315/0.01133, allocations: 145.3 kB / 0.8857 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.01138, allocations: 59.34 kB / 0.8857 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.01173, allocations: 0.5339 MB / 0.8863 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.01175, allocations: 33.7 kB / 0.8863 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.01193, allocations: 294.7 kB / 0.8866 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.01196, allocations: 27.92 kB / 0.8866 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.01202, allocations: 59.31 kB / 0.8867 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.01216, allocations: 0.5547 MB / 0.8872 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.239e-05/0.01222, allocations: 23.97 kB / 0.8872 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.01228, allocations: 86.06 kB / 0.8873 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.01237, allocations: 73.08 kB / 0.8874 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01238, allocations: 0 / 0.8874 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001826/0.01256, allocations: 177.2 kB / 0.8875 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01257, allocations: 4 kB / 0.8875 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.01258, allocations: 4 kB / 0.8875 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.0126, allocations: 3.938 kB / 0.8876 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.01272, allocations: 39.91 kB / 0.8876 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.01272, allocations: 4 kB / 0.8876 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.01278, allocations: 7.938 kB / 0.8876 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.0128, allocations: 12 kB / 0.8876 GB, free: 12.45 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.0001028/0.0129, allocations: 168.5 kB / 0.8878 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.01294, allocations: 55.67 kB / 0.8878 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.01311, allocations: 130.1 kB / 0.8879 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01312, allocations: 3.938 kB / 0.888 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01312, allocations: 0 / 0.888 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01313, allocations: 3.984 kB / 0.888 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.01333, allocations: 300.4 kB / 0.8882 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01333, allocations: 0 / 0.8882 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.01338, allocations: 12 kB / 0.8883 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01338, allocations: 0 / 0.8883 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01339, allocations: 3.984 kB / 0.8883 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01339, allocations: 4 kB / 0.8883 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.0134, allocations: 3.938 kB / 0.8883 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.01367, allocations: 192 kB / 0.8884 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.0137, allocations: 43.67 kB / 0.8885 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.01373, allocations: 0 / 0.8885 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.01377, allocations: 15.92 kB / 0.8885 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.01383, allocations: 11.92 kB / 0.8885 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.01384, allocations: 8 kB / 0.8885 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002074/0.01404, allocations: 334.8 kB / 0.8888 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01404, allocations: 0 / 0.8888 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000188/0.01423, allocations: 55.97 kB / 0.8889 GB, free: 11.06 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.0008797/0.01511, allocations: 384.7 kB / 0.8893 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001704/0.01528, allocations: 83.59 kB / 0.8893 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01528, allocations: 0 / 0.8893 GB, free: 10.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.01533, allocations: 31.67 kB / 0.8894 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.01561, allocations: 84.77 kB / 0.8895 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008913/0.0165, allocations: 0.6247 MB / 0.8901 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.01656, allocations: 116.3 kB / 0.8902 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.59e-05/0.01664, allocations: 33.94 kB / 0.8902 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.01669, allocations: 28.48 kB / 0.8902 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of SimCode: time 1.172e-06/0.01669, allocations: 4 kB / 0.8902 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of Templates: time 0.00692/0.02361, allocations: 3.31 MB / 0.8935 GB, free: 6.512 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: 5.289198529906571]