Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.0008672/0.0008672, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009536/0.0009536, allocations: 173 kB / 23.36 MB, free: 1.133 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.9683/0.9683, allocations: 177.2 MB / 203.8 MB, free: 5.441 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 2.418/2.418, allocations: 438.8 MB / 0.6826 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8385 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.199e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001794/0.001816, allocations: 1.259 MB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000668/0.002484, allocations: 442.4 kB / 0.8402 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.002514, allocations: 3.938 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.372e-05/0.002588, allocations: 4 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.312e-05/0.002611, allocations: 4 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.003079, allocations: 123.4 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.512e-05/0.003144, allocations: 19.92 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.236e-05/0.003176, allocations: 7.984 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.4e-05/0.00321, allocations: 15.97 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.28e-05/0.003233, allocations: 4 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.003245, allocations: 4 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.003455, allocations: 139.7 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.003492, allocations: 31.86 kB / 0.8405 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.003513, allocations: 11.92 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.003679, allocations: 139.5 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003681, allocations: 4 kB / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003682, allocations: 0 / 0.8407 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.003685, allocations: 0 / 0.8407 GB, free: 11.99 MB / 0.8073 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.0003217/0.004007, allocations: 346.9 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.004041, allocations: 12.62 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.00411, allocations: 12.92 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.358e-05/0.004194, allocations: 121.6 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004206, allocations: 384 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.004217, allocations: 12.31 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/0.00431, allocations: 92.53 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.004316, allocations: 192 / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.004323, allocations: 4.359 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004327, allocations: 384 / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.004349, allocations: 28.52 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.001e-05/0.004419, allocations: 71.75 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.896e-05/0.004468, allocations: 38.58 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.00449, allocations: 32.8 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5e-06/0.004495, allocations: 4.047 kB / 0.8414 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.262e-05/0.004588, allocations: 103.9 kB / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 9.61e-07/0.004589, allocations: 0 / 0.8415 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0001884/0.004777, allocations: 206 kB / 0.8417 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.004822, allocations: 87.31 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/0.004884, allocations: 130.5 kB / 0.8419 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.004916, allocations: 49.69 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.004942, allocations: 84.8 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.813e-05/0.005, allocations: 99.25 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.005065, allocations: 93.55 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.793e-05/0.005143, allocations: 346.7 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.00519, allocations: 51.47 kB / 0.8426 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.005259, allocations: 105.3 kB / 0.8427 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.005411, allocations: 211.2 kB / 0.8429 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.005414, allocations: 3.984 kB / 0.8429 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002082/0.005623, allocations: 254.4 kB / 0.8432 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.005634, allocations: 4 kB / 0.8432 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.00564, allocations: 3.984 kB / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.00565, allocations: 4 kB / 0.8432 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.005793, allocations: 71.84 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.005798, allocations: 7.938 kB / 0.8433 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/0.005837, allocations: 31.73 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.005849, allocations: 11.94 kB / 0.8433 GB, free: 9.102 MB / 0.8073 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.0001055/0.005955, allocations: 172.7 kB / 0.8435 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.005965, allocations: 4 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.005987, allocations: 5.312 kB / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.005989, allocations: 0 / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.005992, allocations: 4 kB / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005995, allocations: 0 / 0.8435 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.995e-05/0.006065, allocations: 89.64 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.006066, allocations: 4 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-06/0.006074, allocations: 0 / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.006075, allocations: 0 / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.00608, allocations: 0 / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006081, allocations: 0 / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.006083, allocations: 7.984 kB / 0.8436 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.006228, allocations: 193 kB / 0.8438 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.006239, allocations: 15.84 kB / 0.8438 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.006261, allocations: 19.98 kB / 0.8438 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.756e-06/0.00627, allocations: 0 / 0.8438 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.006286, allocations: 8 kB / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.006289, allocations: 0 / 0.8438 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.482e-05/0.006304, allocations: 20.83 kB / 0.8438 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006304, allocations: 0 / 0.8438 GB, free: 8.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001843/0.006488, allocations: 47.94 kB / 0.8439 GB, free: 8.473 MB / 0.8073 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.0003286/0.006817, allocations: 226.4 kB / 0.8441 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.00698, allocations: 144.3 kB / 0.8442 GB, free: 8.129 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.006984, allocations: 3.938 kB / 0.8442 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.007011, allocations: 40.83 kB / 0.8443 GB, free: 8.082 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.354e-05/0.007075, allocations: 7.938 kB / 0.8443 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.007323, allocations: 246.2 kB / 0.8445 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.007361, allocations: 75.83 kB / 0.8446 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.007387, allocations: 12.64 kB / 0.8446 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.007423, allocations: 63.36 kB / 0.8447 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.007423, allocations: 0 / 0.8447 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of Templates: time 0.003477/0.0109, allocations: 1.876 MB / 0.8465 GB, free: 5.777 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.151655355934054]