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.001582/0.001582, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001576/0.001576, allocations: 164.6 kB / 24.86 MB, free: 8.891 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.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.932/1.932, allocations: 377.9 MB / 0.6247 GB, free: 8.418 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 1.773e-06/1.773e-06, allocations: 0 / 0.8127 GB, free: 1.535 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.06e-05, allocations: 3.078 kB / 0.8127 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002875/0.002905, allocations: 1.277 MB / 0.814 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009853/0.003891, allocations: 459.3 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.003934, allocations: 0 / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.004035, allocations: 4.719 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.188e-05/0.004066, allocations: 4 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.004672, allocations: 129.1 kB / 0.8146 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.978e-05/0.004762, allocations: 23.92 kB / 0.8146 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.004802, allocations: 0 / 0.8146 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.792e-05/0.00485, allocations: 15.98 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.536e-05/0.004885, allocations: 13.5 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.004903, allocations: 4 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.005215, allocations: 139.7 kB / 0.8147 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.005268, allocations: 27.86 kB / 0.8148 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.005303, allocations: 13.12 kB / 0.8148 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.005585, allocations: 147.5 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.005588, allocations: 0 / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.81e-07/0.005589, allocations: 1.594 kB / 0.8149 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.005594, allocations: 0 / 0.8149 GB, free: 15.3 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.0005305/0.006125, allocations: 494.4 kB / 0.8154 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.006164, allocations: 12.03 kB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.835e-05/0.006262, allocations: 13.56 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.006379, allocations: 120.5 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.006401, allocations: 8.891 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.006411, allocations: 6.031 kB / 0.8156 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.006535, allocations: 84.89 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.006544, allocations: 192 / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.006551, allocations: 384 / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.006558, allocations: 4.375 kB / 0.8156 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.615e-05/0.006595, allocations: 24.47 kB / 0.8157 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.006731, allocations: 129.3 kB / 0.8158 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.73e-05/0.006809, allocations: 47.95 kB / 0.8158 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/0.006848, allocations: 35.67 kB / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.253e-06/0.006855, allocations: 5.094 kB / 0.8159 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.007, allocations: 103 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=38): time 1.623e-06/0.007002, allocations: 1.375 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38): time 0.0004542/0.007456, allocations: 306.5 kB / 0.8163 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.007525, allocations: 87.31 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.007641, allocations: 191.6 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.007682, allocations: 41.69 kB / 0.8166 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.007738, allocations: 139.5 kB / 0.8167 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.007841, allocations: 103.3 kB / 0.8168 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.007963, allocations: 111.3 kB / 0.8169 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.008135, allocations: 0.5177 MB / 0.8174 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.008217, allocations: 44.58 kB / 0.8175 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.008367, allocations: 149.9 kB / 0.8176 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.008627, allocations: 232.7 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.008631, allocations: 0 / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004/0.009031, allocations: 304.2 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.009048, allocations: 4 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.009058, allocations: 4 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.00907, allocations: 3.938 kB / 0.8181 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.009312, allocations: 72.41 kB / 0.8182 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.009319, allocations: 4.531 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/0.009397, allocations: 39.61 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.009414, allocations: 9.594 kB / 0.8182 GB, free: 11.66 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.0001789/0.009593, allocations: 214.3 kB / 0.8184 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.009614, allocations: 19.59 kB / 0.8185 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.009641, allocations: 5.625 kB / 0.8185 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.009644, allocations: 4 kB / 0.8185 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.009648, allocations: 3.984 kB / 0.8185 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.009653, allocations: 3.984 kB / 0.8185 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.009771, allocations: 124.7 kB / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.009773, allocations: 320 / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.761e-05/0.0098, allocations: 8 kB / 0.8186 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.009803, allocations: 0 / 0.8186 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.009811, allocations: 4 kB / 0.8186 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.009814, allocations: 5.766 kB / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.009815, allocations: 0 / 0.8186 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.01017, allocations: 287.8 kB / 0.8189 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.01019, allocations: 15.84 kB / 0.8189 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.01022, allocations: 23.98 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.01024, allocations: 4.906 kB / 0.8189 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.01026, allocations: 3.984 kB / 0.8189 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.01027, allocations: 4 kB / 0.8189 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.887e-05/0.01032, allocations: 124.3 kB / 0.8191 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01032, allocations: 0 / 0.8191 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003421/0.01066, allocations: 55.92 kB / 0.8191 GB, free: 10.72 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.0004541/0.01111, allocations: 243.2 kB / 0.8193 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.01136, allocations: 164.5 kB / 0.8195 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.01136, allocations: 0 / 0.8195 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.547e-05/0.01142, allocations: 47.66 kB / 0.8195 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.01159, allocations: 15.92 kB / 0.8196 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.01195, allocations: 247.2 kB / 0.8198 GB, free: 10 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.01201, allocations: 72.34 kB / 0.8199 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.01205, allocations: 13.73 kB / 0.8199 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.584e-05/0.01211, allocations: 82.64 kB / 0.82 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.01211, allocations: 1.156 kB / 0.82 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of Templates: time 0.005148/0.01726, allocations: 1.954 MB / 0.8219 GB, free: 7.883 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.2814475749619305]