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.001745/0.001745, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.002281/0.002281, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.564/1.564, allocations: 225.6 MB / 249.4 MB, free: 3.285 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.701/2.701, allocations: 443.4 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 176] 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.001981/0.001981, allocations: 71.88 kB / 1.059 GB, free: 432 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.339, allocations: 160.7 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004169/0.3432, allocations: 2.293 MB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002463/0.3457, allocations: 1.459 MB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.3458, allocations: 11.94 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006134/0.3464, allocations: 183.1 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003643/0.3468, allocations: 131.3 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.3472, allocations: 167.2 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.3476, allocations: 271 kB / 1.221 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.3477, allocations: 36.73 kB / 1.221 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.3479, allocations: 115.5 kB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3481, allocations: 115.4 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.3481, allocations: 12 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.3483, allocations: 59.97 kB / 1.221 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3484, allocations: 103.6 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.3485, allocations: 142.9 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.3491, allocations: 402 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3491, allocations: 0 / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3491, allocations: 0 / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3491, allocations: 0 / 1.221 GB, free: 9.887 MB / 0.9669 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.001208/0.3503, allocations: 0.7327 MB / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3503, allocations: 8.031 kB / 1.222 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.94e-05/0.3504, allocations: 48.61 kB / 1.222 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.351, allocations: 412.6 kB / 1.223 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.351, allocations: 8.359 kB / 1.223 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.351, allocations: 11.94 kB / 1.223 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3512, allocations: 93.53 kB / 1.223 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3512, allocations: 4 kB / 1.223 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.3512, allocations: 8 kB / 1.223 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3512, allocations: 0 / 1.223 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.3514, allocations: 53.38 kB / 1.223 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007981/0.3522, allocations: 496.5 kB / 1.223 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.3526, allocations: 102.7 kB / 1.223 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.3526, allocations: 28.86 kB / 1.223 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3527, allocations: 3.984 kB / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.3529, allocations: 103.2 kB / 1.224 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3529, allocations: 4 kB / 1.224 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004406/0.3533, allocations: 185.1 kB / 1.224 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.3534, allocations: 55.41 kB / 1.224 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/0.3539, allocations: 0.4951 MB / 1.224 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.354, allocations: 33.7 kB / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.3542, allocations: 224 kB / 1.224 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.3542, allocations: 23.8 kB / 1.224 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.3543, allocations: 53.64 kB / 1.225 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3545, allocations: 358.8 kB / 1.225 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.3546, allocations: 51.97 kB / 1.225 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.3547, allocations: 74.55 kB / 1.225 GB, free: 6.035 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3549, allocations: 101.6 kB / 1.225 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3549, allocations: 0 / 1.225 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003573/0.3553, allocations: 211.3 kB / 1.225 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3553, allocations: 8 kB / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3553, allocations: 0 / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3553, allocations: 0 / 1.225 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.3555, allocations: 39.97 kB / 1.225 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.3555, allocations: 4 kB / 1.225 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.3556, allocations: 11.95 kB / 1.225 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.3557, allocations: 11.98 kB / 1.225 GB, free: 5.645 MB / 0.9669 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.0001988/0.3559, allocations: 193.7 kB / 1.226 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.278e-05/0.3559, allocations: 47.67 kB / 1.226 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.3562, allocations: 161.9 kB / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3562, allocations: 0 / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3562, allocations: 0 / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3563, allocations: 96 / 1.226 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.3566, allocations: 329.3 kB / 1.226 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3566, allocations: 0 / 1.226 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.3566, allocations: 12 kB / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3566, allocations: 0 / 1.226 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3567, allocations: 4 kB / 1.226 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3567, allocations: 4 kB / 1.226 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3567, allocations: 3.984 kB / 1.226 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.357, allocations: 216.6 kB / 1.226 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.3571, allocations: 112.9 kB / 1.226 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.3572, allocations: 7.984 kB / 1.226 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.3573, allocations: 11.88 kB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.3573, allocations: 16.05 kB / 1.226 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.3573, allocations: 11.98 kB / 1.226 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00037/0.3577, allocations: 350.8 kB / 1.227 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3577, allocations: 0 / 1.227 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002657/0.358, allocations: 51.94 kB / 1.227 GB, free: 4.043 MB / 0.9669 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 (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.001512/0.3595, allocations: 412.2 kB / 1.227 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.3598, allocations: 107.8 kB / 1.227 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3598, allocations: 4.062 kB / 1.227 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/0.3599, allocations: 39.92 kB / 1.227 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.3603, allocations: 74.75 kB / 1.227 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.3614, allocations: 0.7101 MB / 1.228 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.3619, allocations: 0.826 MB / 1.229 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.362, allocations: 25.94 kB / 1.229 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.3621, allocations: 35.61 kB / 1.229 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of SimCode: time 5.91e-07/0.3621, allocations: 0 / 1.229 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of Templates: time 0.00816/0.3703, allocations: 3.111 MB / 1.232 GB, free: 14.84 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.784100906923413]