Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002363/0.002363, allocations: 79.75 kB / 20.23 MB, free: 4.172 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.00303/0.00303, allocations: 157.4 kB / 23.55 MB, free: 0.8555 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.657/1.657, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.195/3.195, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.605e-05/3.785e-05, allocations: 4 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.006368/0.006406, allocations: 2.278 MB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00418/0.01059, allocations: 1.539 MB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.01078, allocations: 4.906 kB / 0.8146 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009525/0.01174, allocations: 179.9 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0008912/0.01263, allocations: 180.3 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006451/0.01327, allocations: 135.5 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006587/0.01393, allocations: 290.8 kB / 0.8153 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.01418, allocations: 45.66 kB / 0.8153 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003477/0.01453, allocations: 147.6 kB / 0.8155 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.01481, allocations: 92.94 kB / 0.8156 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.01487, allocations: 12 kB / 0.8156 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.01516, allocations: 69.14 kB / 0.8157 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.01538, allocations: 99.61 kB / 0.8158 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.01555, allocations: 71.67 kB / 0.8158 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009105/0.01646, allocations: 390.5 kB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.01647, allocations: 1.594 kB / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.179e-06/0.01648, allocations: 0 / 0.8162 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.01649, allocations: 4 kB / 0.8162 GB, free: 12.58 MB / 0.7761 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.002033/0.01852, allocations: 0.781 MB / 0.817 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 7.783e-05/0.0186, allocations: 8.031 kB / 0.817 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.01878, allocations: 52.61 kB / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.01967, allocations: 355.4 kB / 0.8174 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.0197, allocations: 4.375 kB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.01975, allocations: 12.36 kB / 0.8174 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.02008, allocations: 116.2 kB / 0.8175 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.02009, allocations: 0.5312 kB / 0.8175 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.02011, allocations: 8 kB / 0.8175 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.02012, allocations: 1.938 kB / 0.8175 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.02034, allocations: 47.92 kB / 0.8175 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.02175, allocations: 0.5268 MB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.0221, allocations: 95.91 kB / 0.8181 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.02222, allocations: 31.81 kB / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.02225, allocations: 4.656 kB / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.02254, allocations: 119.3 kB / 0.8183 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.02254, allocations: 3.938 kB / 0.8183 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0006284/0.02317, allocations: 172.1 kB / 0.8185 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.02323, allocations: 51.41 kB / 0.8185 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.02439, allocations: 0.6042 MB / 0.8191 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.02443, allocations: 29.7 kB / 0.8191 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/0.02487, allocations: 306.8 kB / 0.8194 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.02494, allocations: 35.69 kB / 0.8195 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.02511, allocations: 67.28 kB / 0.8195 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0005028/0.02561, allocations: 0.5691 MB / 0.8201 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.02581, allocations: 39.98 kB / 0.8201 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.0261, allocations: 114.4 kB / 0.8202 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.02645, allocations: 97.25 kB / 0.8203 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.02646, allocations: 4 kB / 0.8203 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006795/0.02714, allocations: 206.1 kB / 0.8205 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.02716, allocations: 8.938 kB / 0.8205 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.02718, allocations: 3.938 kB / 0.8205 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.0272, allocations: 1.125 kB / 0.8205 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003021/0.0275, allocations: 39.92 kB / 0.8206 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.02752, allocations: 7.984 kB / 0.8206 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.02773, allocations: 9.016 kB / 0.8206 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.02778, allocations: 12 kB / 0.8206 GB, free: 7.844 MB / 0.7761 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.0002934/0.02808, allocations: 177.7 kB / 0.8208 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.02819, allocations: 55.66 kB / 0.8208 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.02872, allocations: 149.6 kB / 0.821 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.02873, allocations: 1.062 kB / 0.821 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.02874, allocations: 0 / 0.821 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.02874, allocations: 0 / 0.821 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.02942, allocations: 329.1 kB / 0.8213 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.02942, allocations: 0 / 0.8213 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.02956, allocations: 17.59 kB / 0.8213 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.02957, allocations: 0 / 0.8213 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.0296, allocations: 7.984 kB / 0.8213 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.822e-06/0.0296, allocations: 3.938 kB / 0.8213 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.0296, allocations: 0.5 kB / 0.8213 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.03031, allocations: 225.3 kB / 0.8215 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.03045, allocations: 43.67 kB / 0.8216 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.03051, allocations: 4 kB / 0.8216 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.03068, allocations: 16.8 kB / 0.8216 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.03077, allocations: 7.984 kB / 0.8216 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.0308, allocations: 7.984 kB / 0.8216 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007526/0.03155, allocations: 368.1 kB / 0.8219 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.1e-07/0.03155, allocations: 0 / 0.8219 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005099/0.03206, allocations: 47.92 kB / 0.822 GB, free: 6.348 MB / 0.7761 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.00451/0.03657, allocations: 458.2 kB / 0.8224 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005454/0.03712, allocations: 120 kB / 0.8225 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.03712, allocations: 0 / 0.8225 GB, free: 5.961 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.03732, allocations: 43.67 kB / 0.8226 GB, free: 5.914 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/0.03809, allocations: 69.44 kB / 0.8227 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.04009, allocations: 0.6366 MB / 0.8233 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.04053, allocations: 212.8 kB / 0.8235 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.04071, allocations: 37.92 kB / 0.8235 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.04084, allocations: 36.42 kB / 0.8235 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of SimCode: time 1.864e-06/0.04084, allocations: 0 / 0.8235 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of Templates: time 0.01631/0.05715, allocations: 3.167 MB / 0.8266 GB, free: 1.789 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.743624655995518]