Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001039/0.001039, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001567/0.001567, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 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.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.954/1.954, allocations: 377.8 MB / 0.6239 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] 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.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.222e-05, allocations: 3.188 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002049/0.002081, allocations: 1.281 MB / 0.8127 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007118/0.002793, allocations: 470.2 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.002827, allocations: 0.6562 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 7.875e-05/0.002906, allocations: 0 / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.261e-05/0.002929, allocations: 4.562 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.003414, allocations: 120.4 kB / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.69e-05/0.003491, allocations: 27.91 kB / 0.8133 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.003529, allocations: 4.75 kB / 0.8133 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.527e-05/0.003564, allocations: 15.97 kB / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.694e-05/0.003591, allocations: 14.33 kB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.003604, allocations: 4 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.003808, allocations: 143.7 kB / 0.8135 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.003861, allocations: 27.91 kB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.003888, allocations: 7.938 kB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.004094, allocations: 151.4 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.004097, allocations: 0 / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.563e-06/0.004099, allocations: 1.594 kB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.004103, allocations: 0 / 0.8137 GB, free: 15.83 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004554/0.004559, allocations: 490.5 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.004594, allocations: 8.031 kB / 0.8142 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.085e-05/0.004684, allocations: 14.09 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.004776, allocations: 120.5 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.004791, allocations: 384 / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.004802, allocations: 8.906 kB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.004923, allocations: 91.88 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.004929, allocations: 4.188 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.004938, allocations: 384 / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.004944, allocations: 384 / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.862e-05/0.004973, allocations: 33.03 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.005104, allocations: 140.2 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.465e-05/0.005169, allocations: 63.05 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.005204, allocations: 36.75 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.323e-06/0.005211, allocations: 0 / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.005325, allocations: 120.7 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=38): time 9.32e-07/0.005326, allocations: 0 / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38): time 0.0003447/0.00567, allocations: 328.6 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.005721, allocations: 87.31 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.005814, allocations: 183.2 kB / 0.8153 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.005842, allocations: 53.67 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.213e-05/0.005884, allocations: 135.5 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.005953, allocations: 103.3 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.006031, allocations: 103.8 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.006158, allocations: 0.5123 MB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.784e-05/0.006225, allocations: 62.56 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.00634, allocations: 154 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.006556, allocations: 259.7 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.006558, allocations: 0 / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002905/0.006849, allocations: 332.5 kB / 0.817 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.006861, allocations: 4 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.006868, allocations: 4.625 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.006881, allocations: 0.5312 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.007048, allocations: 71.91 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.007057, allocations: 8.781 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.007099, allocations: 35.67 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.007113, allocations: 12.84 kB / 0.8171 GB, free: 12.05 MB / 0.7761 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 0.0001078/0.007221, allocations: 214.6 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.007234, allocations: 18.75 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.041e-05/0.007255, allocations: 9.922 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007257, allocations: 3.984 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.00726, allocations: 4 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.007265, allocations: 7.938 kB / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.314e-05/0.007348, allocations: 140.2 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.007349, allocations: 0 / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.00736, allocations: 9.062 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.007362, allocations: 0 / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.007368, allocations: 0 / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.007368, allocations: 1.125 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.00737, allocations: 3.984 kB / 0.8175 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.007603, allocations: 300.9 kB / 0.8178 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.007615, allocations: 20.91 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.007637, allocations: 19.98 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/0.00765, allocations: 0 / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.00767, allocations: 4.5 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.007674, allocations: 1.312 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.007711, allocations: 135.1 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007711, allocations: 3.938 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002045/0.007916, allocations: 51.94 kB / 0.818 GB, free: 11.08 MB / 0.7761 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.0003179/0.008234, allocations: 233 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.008437, allocations: 181.1 kB / 0.8184 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.00844, allocations: 4 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.008481, allocations: 55.66 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.008589, allocations: 8 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.008879, allocations: 247.5 kB / 0.8187 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.098e-05/0.00892, allocations: 72.34 kB / 0.8188 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.008949, allocations: 18.62 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.008973, allocations: 16.5 kB / 0.8188 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/0.008974, allocations: 0 / 0.8188 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of Templates: time 0.003288/0.01226, allocations: 1.777 MB / 0.8206 GB, free: 8.477 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.389081519795582]