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.0009544/0.0009544, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009945/0.0009945, allocations: 169 kB / 23.27 MB, free: 1.219 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.9414/0.9414, allocations: 177.1 MB / 203.7 MB, free: 5.484 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.361/2.361, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 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.964e-06/1.964e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.464e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.003037/0.003052, allocations: 2.309 MB / 0.892 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.005235, allocations: 1.529 MB / 0.8935 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.005425, allocations: 4 kB / 0.8935 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.006023, allocations: 187.4 kB / 0.8937 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.006452, allocations: 183 kB / 0.8939 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.006778, allocations: 147.4 kB / 0.894 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.007111, allocations: 283 kB / 0.8943 GB, free: 5.074 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.00725, allocations: 32.92 kB / 0.8943 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006601/0.00791, allocations: 236.2 kB / 0.8945 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.00803, allocations: 71.73 kB / 0.8946 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.008056, allocations: 12 kB / 0.8946 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.008176, allocations: 55.91 kB / 0.8947 GB, free: 4.688 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.5e-05/0.008261, allocations: 95.62 kB / 0.8948 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.008328, allocations: 71.66 kB / 0.8948 GB, free: 4.523 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.008662, allocations: 266.8 kB / 0.8951 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.008664, allocations: 0 / 0.8951 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.41e-07/0.008665, allocations: 0 / 0.8951 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.008669, allocations: 0 / 0.8951 GB, free: 4.262 MB / 0.8542 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.0007605/0.00943, allocations: 0.7668 MB / 0.8958 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.009472, allocations: 12.02 kB / 0.8958 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.009539, allocations: 56.61 kB / 0.8959 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.009857, allocations: 335.3 kB / 0.8962 GB, free: 3.035 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.009876, allocations: 8.375 kB / 0.8962 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.009899, allocations: 12.36 kB / 0.8962 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.01006, allocations: 104.6 kB / 0.8963 GB, free: 2.898 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.01007, allocations: 7.938 kB / 0.8963 GB, free: 2.891 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.01008, allocations: 4 kB / 0.8963 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.01008, allocations: 0 / 0.8963 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.01014, allocations: 26.36 kB / 0.8964 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.01063, allocations: 415.9 kB / 0.8968 GB, free: 2.43 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.0108, allocations: 71.19 kB / 0.8968 GB, free: 2.348 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.01082, allocations: 15.69 kB / 0.8969 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.01085, allocations: 3.938 kB / 0.8969 GB, free: 2.324 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.01096, allocations: 102.7 kB / 0.897 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.01096, allocations: 0 / 0.897 GB, free: 2.203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0002247/0.01119, allocations: 137.3 kB / 0.8971 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.01122, allocations: 55.41 kB / 0.8971 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.01166, allocations: 0.5297 MB / 0.8977 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.01168, allocations: 33.7 kB / 0.8977 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.01184, allocations: 298.7 kB / 0.898 GB, free: 1.113 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.01187, allocations: 23.92 kB / 0.898 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.01194, allocations: 63.28 kB / 0.8981 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.01212, allocations: 0.5624 MB / 0.8986 GB, free: 456 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.01215, allocations: 15.98 kB / 0.8986 GB, free: 440 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.164e-05/0.01221, allocations: 86.34 kB / 0.8987 GB, free: 336 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.457e-05/0.01229, allocations: 65.42 kB / 0.8988 GB, free: 264 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01229, allocations: 0 / 0.8988 GB, free: 264 kB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001694/0.01246, allocations: 167.5 kB / 0.8989 GB, free: 92 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01247, allocations: 8.062 kB / 0.8989 GB, free: 84 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01248, allocations: 0 / 0.8989 GB, free: 84 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01249, allocations: 4 kB / 0.8989 GB, free: 80 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.01259, allocations: 35.92 kB / 0.899 GB, free: 44 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.0126, allocations: 0 / 0.899 GB, free: 44 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.409e-05/0.01265, allocations: 15.88 kB / 0.899 GB, free: 28 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.01267, allocations: 11.98 kB / 0.899 GB, free: 16 kB / 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.0001195/0.01279, allocations: 168.6 kB / 0.8992 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.01282, allocations: 47.67 kB / 0.8992 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.013, allocations: 129.7 kB / 0.8993 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.013, allocations: 4 kB / 0.8993 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.01301, allocations: 7.922 kB / 0.8993 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.01301, allocations: 0 / 0.8993 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.01339, allocations: 217 kB / 0.8995 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.0134, allocations: 0 / 0.8995 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.01344, allocations: 8 kB / 0.8996 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01344, allocations: 3.938 kB / 0.8996 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.01345, allocations: 4 kB / 0.8996 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01346, allocations: 4 kB / 0.8996 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01346, allocations: 7.938 kB / 0.8996 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.01364, allocations: 184.5 kB / 0.8997 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.01368, allocations: 47.66 kB / 0.8998 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.0137, allocations: 0 / 0.8998 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.01374, allocations: 8 kB / 0.8998 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.01378, allocations: 11.97 kB / 0.8998 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.01379, allocations: 4 kB / 0.8998 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001835/0.01397, allocations: 318.6 kB / 0.9001 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01397, allocations: 0 / 0.9001 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000193/0.01416, allocations: 51.92 kB / 0.9002 GB, free: 14.75 MB / 0.8698 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.0009079/0.01507, allocations: 401.9 kB / 0.9006 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.01521, allocations: 71.56 kB / 0.9006 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01522, allocations: 4.062 kB / 0.9006 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.616e-05/0.01526, allocations: 35.61 kB / 0.9007 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.01551, allocations: 80.67 kB / 0.9007 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008652/0.01638, allocations: 0.6131 MB / 0.9013 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.734e-05/0.01646, allocations: 124.2 kB / 0.9015 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.993e-05/0.01654, allocations: 29.94 kB / 0.9015 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.01666, allocations: 118.2 kB / 0.9016 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/0.01666, allocations: 0 / 0.9016 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of Templates: time 0.006923/0.02358, allocations: 3.409 MB / 0.9049 GB, free: 10.03 MB / 0.8698 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.374299495946616]