Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 116.4 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 437.1 MB / 0.7177 GB, free: 4.582 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3142, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004011/0.3182, allocations: 2.27 MB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3208, allocations: 1.44 MB / 1.179 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.3209, allocations: 0 / 1.179 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006468/0.3216, allocations: 183.1 kB / 1.18 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.322, allocations: 143.3 kB / 1.18 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.3225, allocations: 160.5 kB / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.3228, allocations: 267 kB / 1.18 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.323, allocations: 56.72 kB / 1.18 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.3232, allocations: 107.5 kB / 1.18 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.3234, allocations: 103.5 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.3234, allocations: 12 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.3236, allocations: 63.91 kB / 1.181 GB, free: 1.078 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.3238, allocations: 99.61 kB / 1.181 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.3239, allocations: 146.9 kB / 1.181 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.3246, allocations: 394 kB / 1.181 GB, free: 460 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3246, allocations: 4 kB / 1.181 GB, free: 456 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3246, allocations: 0 / 1.181 GB, free: 456 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.3246, allocations: 0 / 1.181 GB, free: 456 kB / 0.92 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.001274/0.3259, allocations: 0.7306 MB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3259, allocations: 8.031 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.879e-05/0.3261, allocations: 48.61 kB / 1.182 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000603/0.3267, allocations: 416.6 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3267, allocations: 8.375 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.3267, allocations: 7.938 kB / 1.182 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.327, allocations: 97.58 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.327, allocations: 4 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.327, allocations: 0 / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.327, allocations: 0 / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3272, allocations: 55.95 kB / 1.182 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.328, allocations: 496.5 kB / 1.183 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.3284, allocations: 106.7 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.427e-05/0.3285, allocations: 36.84 kB / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.3285, allocations: 0 / 1.183 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.3287, allocations: 91.31 kB / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.804e-06/0.3288, allocations: 0 / 1.183 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0004914/0.3293, allocations: 181.2 kB / 1.183 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3293, allocations: 59.34 kB / 1.183 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/0.3299, allocations: 0.499 MB / 1.184 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.3299, allocations: 29.7 kB / 1.184 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/0.3302, allocations: 232 kB / 1.184 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.3302, allocations: 27.8 kB / 1.184 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.3303, allocations: 57.58 kB / 1.184 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3305, allocations: 358.8 kB / 1.185 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3306, allocations: 43.98 kB / 1.185 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.3308, allocations: 78.55 kB / 1.185 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.331, allocations: 99.97 kB / 1.185 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.331, allocations: 0 / 1.185 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003745/0.3314, allocations: 212.1 kB / 1.185 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3314, allocations: 8 kB / 1.185 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3314, allocations: 0 / 1.185 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3314, allocations: 7.984 kB / 1.185 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3316, allocations: 35.92 kB / 1.185 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3316, allocations: 4 kB / 1.185 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.3318, allocations: 23.97 kB / 1.185 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.699e-05/0.3318, allocations: 4 kB / 1.185 GB, free: 12.2 MB / 0.9356 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.0002198/0.332, allocations: 187.2 kB / 1.185 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.3321, allocations: 51.67 kB / 1.185 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.563e-05/0.3322, allocations: 47.91 kB / 1.185 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3322, allocations: 0 / 1.185 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3322, allocations: 0 / 1.185 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3322, allocations: 3.938 kB / 1.185 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.3326, allocations: 325.4 kB / 1.186 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3326, allocations: 4.375 kB / 1.186 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.3327, allocations: 8 kB / 1.186 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.3327, allocations: 0 / 1.186 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.3327, allocations: 11.98 kB / 1.186 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3327, allocations: 3.938 kB / 1.186 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.3327, allocations: 0 / 1.186 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004185/0.3332, allocations: 216.6 kB / 1.186 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.3333, allocations: 112.9 kB / 1.186 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.3333, allocations: 12 kB / 1.186 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/0.3334, allocations: 4 kB / 1.186 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.3335, allocations: 11.98 kB / 1.186 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.3335, allocations: 7.984 kB / 1.186 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004202/0.3339, allocations: 354.8 kB / 1.186 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3339, allocations: 0 / 1.186 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002716/0.3342, allocations: 43.94 kB / 1.186 GB, free: 10.73 MB / 0.9356 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001547/0.3358, allocations: 436.1 kB / 1.187 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.3361, allocations: 115.8 kB / 1.187 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3361, allocations: 0 / 1.187 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3362, allocations: 39.98 kB / 1.187 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3366, allocations: 68.73 kB / 1.187 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3379, allocations: 0.7509 MB / 1.188 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.3384, allocations: 0.8228 MB / 1.189 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.3385, allocations: 23.44 kB / 1.189 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.3385, allocations: 0 / 1.189 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of Templates: time 0.008447/0.347, allocations: 4.631 MB / 1.193 GB, free: 4 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.177865268080495]