Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001374/0.001374, allocations: 80.75 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.001531/0.001531, allocations: 181 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.9583/0.9583, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.395/2.395, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.8385 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.549e-05, allocations: 2.312 kB / 0.8385 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001549/0.001565, allocations: 1.264 MB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006459/0.002211, allocations: 470.2 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.002237, allocations: 0 / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.927e-05/0.002307, allocations: 3.938 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.211e-05/0.002329, allocations: 0 / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.002752, allocations: 127.4 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.002817, allocations: 27.86 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.00285, allocations: 3.984 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.546e-05/0.002885, allocations: 19.97 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.329e-05/0.002908, allocations: 7.938 kB / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.002919, allocations: 0 / 0.8404 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.003124, allocations: 147.7 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.402e-05/0.003158, allocations: 23.88 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.00318, allocations: 15.91 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.003345, allocations: 147.5 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003347, allocations: 0 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003347, allocations: 0 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.00335, allocations: 0 / 0.8407 GB, free: 11.96 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003436/0.003694, allocations: 362.8 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.003723, allocations: 8.625 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.003787, allocations: 4.938 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.787e-05/0.003865, allocations: 125.6 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.003879, allocations: 8.359 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.00389, allocations: 8.359 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.003988, allocations: 91.53 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.003994, allocations: 192 / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-06/0.004, allocations: 384 / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.004006, allocations: 384 / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.004026, allocations: 23.94 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.55e-05/0.004101, allocations: 87.64 kB / 0.8414 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/0.004153, allocations: 42.52 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.004181, allocations: 32.86 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-06/0.004186, allocations: 0 / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.905e-05/0.004285, allocations: 112.2 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=38): time 8.22e-07/0.004286, allocations: 0 / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38): time 0.0001902/0.004476, allocations: 222.5 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.004523, allocations: 87.31 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.195e-05/0.004585, allocations: 126.6 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.00461, allocations: 49.67 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.568e-05/0.004635, allocations: 84.8 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.004692, allocations: 99.27 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.004752, allocations: 89.61 kB / 0.8423 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.029e-05/0.004832, allocations: 346.7 kB / 0.8427 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.004876, allocations: 51.47 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.801e-05/0.004954, allocations: 114.1 kB / 0.8428 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.005106, allocations: 223.8 kB / 0.843 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.005108, allocations: 4 kB / 0.843 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002108/0.005319, allocations: 254.3 kB / 0.8433 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.00533, allocations: 8 kB / 0.8433 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.005336, allocations: 0 / 0.8433 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.005349, allocations: 4 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.005491, allocations: 67.91 kB / 0.8434 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.005497, allocations: 11.92 kB / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.005536, allocations: 35.67 kB / 0.8434 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.005549, allocations: 24.11 kB / 0.8434 GB, free: 8.988 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 41 * 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 9.347e-05/0.005643, allocations: 160.6 kB / 0.8436 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.005651, allocations: 7.969 kB / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.005672, allocations: 13.62 kB / 0.8436 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.005674, allocations: 4 kB / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.005675, allocations: 0 / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.005678, allocations: 0 / 0.8436 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.861e-05/0.005746, allocations: 89.64 kB / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.005748, allocations: 0 / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.005758, allocations: 4 kB / 0.8437 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005759, allocations: 0 / 0.8437 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.005763, allocations: 0 / 0.8437 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.005765, allocations: 4 kB / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005766, allocations: 320 / 0.8437 GB, free: 8.688 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.005905, allocations: 198.1 kB / 0.8439 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.005916, allocations: 23.78 kB / 0.8439 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.005937, allocations: 24.05 kB / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-06/0.005947, allocations: 4 kB / 0.8439 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.406e-05/0.005961, allocations: 4 kB / 0.8439 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.005964, allocations: 0 / 0.8439 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.336e-05/0.005977, allocations: 16.83 kB / 0.8439 GB, free: 8.398 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.005978, allocations: 4 kB / 0.844 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001702/0.006148, allocations: 47.94 kB / 0.844 GB, free: 8.348 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 (5): * Single equations (assignments): 3 * 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.0002835/0.006431, allocations: 212.7 kB / 0.8442 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.00658, allocations: 148.1 kB / 0.8443 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.006582, allocations: 0 / 0.8443 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-05/0.006614, allocations: 44.83 kB / 0.8444 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.924e-05/0.006673, allocations: 16.25 kB / 0.8444 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.006921, allocations: 257.8 kB / 0.8446 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.006958, allocations: 80.31 kB / 0.8447 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.838e-05/0.006987, allocations: 13.14 kB / 0.8447 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.007022, allocations: 63.38 kB / 0.8448 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.007022, allocations: 0 / 0.8448 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of Templates: time 0.003274/0.0103, allocations: 1.927 MB / 0.8467 GB, free: 5.578 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.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.301244487985969]