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.001437/0.001437, allocations: 69.89 kB / 20.65 MB, free: 3.848 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.00164/0.00164, allocations: 173 kB / 24.06 MB, free: 452 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.076/1.076, allocations: 177.1 MB / 204.5 MB, free: 4.828 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.163/2.163, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.823e-06/1.823e-06, allocations: 0.9844 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.701e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002683/0.0027, allocations: 2.287 MB / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.004345, allocations: 1.551 MB / 0.8832 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.004448, allocations: 0 / 0.8832 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.004902, allocations: 177.6 kB / 0.8833 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003454/0.005248, allocations: 190.4 kB / 0.8835 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.005454, allocations: 135.5 kB / 0.8836 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.00571, allocations: 290.9 kB / 0.8839 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.005822, allocations: 32.91 kB / 0.8839 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005356/0.006358, allocations: 247.2 kB / 0.8842 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.572e-05/0.006454, allocations: 71.75 kB / 0.8843 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.006476, allocations: 12 kB / 0.8843 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.006568, allocations: 59.89 kB / 0.8843 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.455e-05/0.006642, allocations: 95.56 kB / 0.8844 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.006703, allocations: 71.72 kB / 0.8845 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.006983, allocations: 262.8 kB / 0.8847 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006985, allocations: 0 / 0.8847 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.21e-07/0.006985, allocations: 0 / 0.8847 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.006992, allocations: 0 / 0.8847 GB, free: 0.5898 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.0006394/0.007632, allocations: 0.7707 MB / 0.8855 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.007663, allocations: 12.03 kB / 0.8855 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.007723, allocations: 52.61 kB / 0.8855 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.008007, allocations: 343.3 kB / 0.8859 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.008025, allocations: 4.375 kB / 0.8859 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.008048, allocations: 12.38 kB / 0.8859 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.008176, allocations: 116.5 kB / 0.886 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.008185, allocations: 3.938 kB / 0.886 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.008192, allocations: 0 / 0.886 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.008197, allocations: 0 / 0.886 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.485e-05/0.008252, allocations: 30.8 kB / 0.886 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.008652, allocations: 415.9 kB / 0.8864 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.008754, allocations: 63.06 kB / 0.8865 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.008784, allocations: 23.8 kB / 0.8865 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.008797, allocations: 4 kB / 0.8865 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.008901, allocations: 102.7 kB / 0.8866 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.008902, allocations: 0 / 0.8866 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0001966/0.009099, allocations: 137.6 kB / 0.8867 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.009127, allocations: 55.41 kB / 0.8868 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.009432, allocations: 0.5258 MB / 0.8873 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.00945, allocations: 33.7 kB / 0.8873 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.009591, allocations: 298.6 kB / 0.8876 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.009618, allocations: 31.91 kB / 0.8877 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.009671, allocations: 55.3 kB / 0.8877 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.009819, allocations: 0.5624 MB / 0.8883 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.009848, allocations: 15.98 kB / 0.8883 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.009905, allocations: 87.16 kB / 0.8884 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.009982, allocations: 69.2 kB / 0.8884 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.009984, allocations: 0 / 0.8884 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001651/0.01015, allocations: 171.1 kB / 0.8886 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.01016, allocations: 4 kB / 0.8886 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.01017, allocations: 0 / 0.8886 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.01018, allocations: 4 kB / 0.8886 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01028, allocations: 31.92 kB / 0.8886 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.01029, allocations: 0 / 0.8886 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.01035, allocations: 19.95 kB / 0.8886 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.01037, allocations: 8 kB / 0.8887 GB, free: 12.33 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.0001061/0.01047, allocations: 172.5 kB / 0.8888 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.01051, allocations: 47.67 kB / 0.8889 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.01068, allocations: 133.7 kB / 0.889 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.01068, allocations: 4 kB / 0.889 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.01069, allocations: 3.938 kB / 0.889 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01069, allocations: 0 / 0.889 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.01087, allocations: 213.1 kB / 0.8892 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01088, allocations: 0 / 0.8892 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.01092, allocations: 16 kB / 0.8892 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01092, allocations: 0 / 0.8892 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.01093, allocations: 7.984 kB / 0.8892 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01094, allocations: 0 / 0.8892 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.01094, allocations: 0 / 0.8892 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.01113, allocations: 188 kB / 0.8894 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.01117, allocations: 43.66 kB / 0.8894 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.0112, allocations: 0 / 0.8894 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.01124, allocations: 8 kB / 0.8895 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.01128, allocations: 11.97 kB / 0.8895 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.01129, allocations: 8.031 kB / 0.8895 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001767/0.01147, allocations: 334.5 kB / 0.8898 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01147, allocations: 0 / 0.8898 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001742/0.01164, allocations: 43.94 kB / 0.8898 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.0008066/0.01245, allocations: 387.5 kB / 0.8902 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.01257, allocations: 67.58 kB / 0.8903 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01257, allocations: 0 / 0.8903 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-05/0.01262, allocations: 39.59 kB / 0.8903 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.0002462/0.01286, allocations: 80.09 kB / 0.8904 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.01364, allocations: 0.617 MB / 0.891 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.889e-05/0.01371, allocations: 116.3 kB / 0.8911 GB, free: 9.844 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.091e-05/0.01378, allocations: 33.92 kB / 0.8911 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.01391, allocations: 126.2 kB / 0.8912 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of SimCode: time 9.72e-07/0.01391, allocations: 0 / 0.8912 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of Templates: time 0.006399/0.02031, allocations: 3.443 MB / 0.8946 GB, free: 6.297 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.482478852383792]