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.002711/0.002711, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.003239/0.003239, allocations: 161.7 kB / 23.55 MB, free: 0.8789 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.605/1.605, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.036/3.036, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.964e-06/1.964e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.492e-05/3.688e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004522/0.004559, allocations: 2.272 MB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003037/0.007596, allocations: 1.548 MB / 0.7901 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.007718, allocations: 0.6562 kB / 0.7901 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006618/0.00838, allocations: 184.7 kB / 0.7903 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004919/0.008872, allocations: 179.1 kB / 0.7905 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.009209, allocations: 135.4 kB / 0.7906 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.009636, allocations: 291.7 kB / 0.7909 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.009781, allocations: 32.91 kB / 0.7909 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.01003, allocations: 152.8 kB / 0.7911 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.01021, allocations: 91.66 kB / 0.7911 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.01026, allocations: 17.53 kB / 0.7912 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.01042, allocations: 55.91 kB / 0.7912 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.01058, allocations: 107.6 kB / 0.7913 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.01069, allocations: 71.66 kB / 0.7914 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005657/0.01126, allocations: 395.1 kB / 0.7918 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01126, allocations: 0 / 0.7918 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01126, allocations: 1.375 kB / 0.7918 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.01127, allocations: 0 / 0.7918 GB, free: 7.293 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.001239/0.01251, allocations: 0.775 MB / 0.7925 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.01255, allocations: 10 kB / 0.7925 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.01267, allocations: 64.61 kB / 0.7926 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006248/0.0133, allocations: 351.4 kB / 0.7929 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.01332, allocations: 8.375 kB / 0.7929 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.01335, allocations: 8.375 kB / 0.7929 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.01361, allocations: 119.1 kB / 0.7931 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.01362, allocations: 4.703 kB / 0.7931 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.01364, allocations: 0 / 0.7931 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.01364, allocations: 1.219 kB / 0.7931 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001782/0.01382, allocations: 51.92 kB / 0.7931 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.01488, allocations: 0.5235 MB / 0.7936 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.01515, allocations: 100.2 kB / 0.7937 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.9e-05/0.01523, allocations: 35.81 kB / 0.7937 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.01526, allocations: 3.938 kB / 0.7938 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.01549, allocations: 119.5 kB / 0.7939 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.304e-06/0.01549, allocations: 0.625 kB / 0.7939 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0004572/0.01595, allocations: 169.3 kB / 0.794 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.016, allocations: 55.97 kB / 0.7941 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007636/0.01676, allocations: 0.6003 MB / 0.7947 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.01679, allocations: 26.83 kB / 0.7947 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.0171, allocations: 302.8 kB / 0.795 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.01715, allocations: 31.8 kB / 0.795 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.01726, allocations: 72.2 kB / 0.7951 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003831/0.01765, allocations: 0.5626 MB / 0.7956 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.01777, allocations: 48.83 kB / 0.7957 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.01796, allocations: 112.7 kB / 0.7958 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.01817, allocations: 103.1 kB / 0.7959 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01818, allocations: 0 / 0.7959 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004549/0.01863, allocations: 215.1 kB / 0.7961 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.01865, allocations: 4 kB / 0.7961 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.01867, allocations: 3.938 kB / 0.7961 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.01869, allocations: 6.781 kB / 0.7961 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.0189, allocations: 31.98 kB / 0.7961 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.0189, allocations: 0 / 0.7961 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.01903, allocations: 15.92 kB / 0.7961 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.01906, allocations: 8 kB / 0.7962 GB, free: 2.559 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 0.0001994/0.01926, allocations: 176.6 kB / 0.7963 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.01933, allocations: 57.14 kB / 0.7964 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003717/0.0197, allocations: 153.6 kB / 0.7965 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01971, allocations: 0 / 0.7965 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.01971, allocations: 4 kB / 0.7965 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.01972, allocations: 0.5 kB / 0.7965 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.02014, allocations: 333.9 kB / 0.7968 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.02014, allocations: 0 / 0.7968 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.02022, allocations: 12 kB / 0.7969 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.02022, allocations: 0 / 0.7969 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.02024, allocations: 4.859 kB / 0.7969 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.02024, allocations: 7.938 kB / 0.7969 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02024, allocations: 3.938 kB / 0.7969 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.02066, allocations: 221.2 kB / 0.7971 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.02074, allocations: 39.67 kB / 0.7971 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.02078, allocations: 4.656 kB / 0.7971 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.849e-05/0.02087, allocations: 11.92 kB / 0.7971 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.02093, allocations: 13.02 kB / 0.7972 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.02095, allocations: 7.984 kB / 0.7972 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004259/0.02137, allocations: 362.8 kB / 0.7975 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02138, allocations: 3.969 kB / 0.7975 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002932/0.02167, allocations: 47.94 kB / 0.7976 GB, free: 1.055 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.003069/0.02474, allocations: 464.1 kB / 0.798 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003141/0.02505, allocations: 117.5 kB / 0.7981 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02505, allocations: 0 / 0.7981 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.02517, allocations: 47.61 kB / 0.7982 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.02563, allocations: 70.25 kB / 0.7982 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.02686, allocations: 0.6327 MB / 0.7988 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.02713, allocations: 217.5 kB / 0.799 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.02725, allocations: 29.92 kB / 0.7991 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.02734, allocations: 32.48 kB / 0.7991 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/0.02734, allocations: 0 / 0.7991 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of Templates: time 0.009654/0.03699, allocations: 3.174 MB / 0.8022 GB, free: 12.48 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.654564861091785]