Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.0007755/0.0007755, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007945/0.0007945, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8403/0.8403, allocations: 177.1 MB / 203.5 MB, free: 5.738 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 1.725/1.725, allocations: 389.1 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.727e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001757/0.001785, allocations: 1.239 MB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006499/0.002435, allocations: 403.3 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.002464, allocations: 0 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 7.941e-05/0.002544, allocations: 0 / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.33e-05/0.002567, allocations: 7.922 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004662/0.003033, allocations: 111.5 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.486e-05/0.003108, allocations: 23.91 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.003146, allocations: 4 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.685e-05/0.003183, allocations: 11.98 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.413e-05/0.003207, allocations: 11.92 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.003222, allocations: 4 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.003425, allocations: 135.7 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.003466, allocations: 23.92 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.003495, allocations: 15.86 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.003675, allocations: 127.6 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003677, allocations: 0 / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003678, allocations: 0 / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003682, allocations: 0 / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000402/0.004084, allocations: 384.3 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.004121, allocations: 8.75 kB / 1.003 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.365e-05/0.004205, allocations: 8.891 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.781e-05/0.004303, allocations: 125.6 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.004321, allocations: 4.375 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.004331, allocations: 4.375 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.00448, allocations: 151.5 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.004489, allocations: 192 / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004499, allocations: 4.359 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.004504, allocations: 384 / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/0.004553, allocations: 67.86 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.004685, allocations: 117.2 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.218e-05/0.004767, allocations: 86.55 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.004815, allocations: 68.89 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.004825, allocations: 0 / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.005, allocations: 175.3 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 1.122e-06/0.005001, allocations: 0 / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0003819/0.005383, allocations: 404.2 kB / 1.004 GB, free: 9.215 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.005435, allocations: 91.11 kB / 1.005 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.005506, allocations: 129.7 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.005534, allocations: 53.67 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.005565, allocations: 80.8 kB / 1.005 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.005624, allocations: 103.4 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.005692, allocations: 89.67 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.005776, allocations: 334.8 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.005893, allocations: 144.8 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.00604, allocations: 209 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.00635, allocations: 413.2 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.006354, allocations: 0 / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003498/0.006703, allocations: 442.5 kB / 1.006 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.006719, allocations: 5.562 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.006727, allocations: 4 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.006742, allocations: 4 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.628e-05/0.006818, allocations: 15.92 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.006826, allocations: 7.938 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.416e-05/0.00687, allocations: 43.67 kB / 1.007 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.006881, allocations: 8 kB / 1.007 GB, free: 6.988 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 1 * 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.0001144/0.006995, allocations: 181.9 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.007005, allocations: 7.906 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.00703, allocations: 9.312 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.007032, allocations: 0 / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.007037, allocations: 7.922 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.007041, allocations: 7.938 kB / 1.007 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.007122, allocations: 121.1 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.007123, allocations: 0 / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-06/0.007132, allocations: 7.938 kB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007135, allocations: 3.984 kB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.007142, allocations: 0 / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007143, allocations: 0 / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.007144, allocations: 0 / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.00739, allocations: 328.9 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.374e-05/0.007404, allocations: 19.83 kB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.007426, allocations: 27.98 kB / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.202e-05/0.007438, allocations: 0 / 1.007 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.007459, allocations: 4 kB / 1.007 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.007465, allocations: 4 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.817e-05/0.007493, allocations: 83.22 kB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007493, allocations: 0 / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002081/0.007701, allocations: 51.92 kB / 1.007 GB, free: 6.078 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003195/0.00802, allocations: 241.1 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.008428, allocations: 266 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.00843, allocations: 0 / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.435e-05/0.008485, allocations: 79.91 kB / 1.008 GB, free: 5.516 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000116/0.008601, allocations: 4 kB / 1.008 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.008916, allocations: 317.5 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.928e-05/0.008976, allocations: 101.2 kB / 1.008 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.008998, allocations: 16.5 kB / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of SimCode: time 3.71e-07/0.008998, allocations: 0 / 1.008 GB, free: 5.039 MB / 0.9636 GB Notification: Performance of Templates: time 0.002804/0.0118, allocations: 2.193 MB / 1.01 GB, free: 2.844 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Linear1D.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: 6.667443171143532]