Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009516/0.0009516, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001022/0.001022, allocations: 161 kB / 24.17 MB, free: 332 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 0.9534/0.9534, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0.875 kB / 0.76 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.208e-05, allocations: 2.312 kB / 0.76 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001938/0.00196, allocations: 1.294 MB / 0.7612 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000699/0.002659, allocations: 448.4 kB / 0.7617 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.002689, allocations: 9.281 kB / 0.7617 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.359e-05/0.002752, allocations: 4.641 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.195e-05/0.002774, allocations: 0.875 kB / 0.7617 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.003179, allocations: 119.2 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.003242, allocations: 18.72 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.884e-05/0.003271, allocations: 9.109 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.281e-05/0.003304, allocations: 8.859 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.913e-05/0.003323, allocations: 4.656 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.003334, allocations: 9.891 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.003559, allocations: 139.7 kB / 0.762 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.003599, allocations: 24.91 kB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.003624, allocations: 12.81 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.003809, allocations: 146.4 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003811, allocations: 0 / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003812, allocations: 1.031 kB / 0.7622 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.003815, allocations: 0 / 0.7622 GB, free: 4.504 MB / 0.7136 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.0003273/0.004143, allocations: 343.8 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.004175, allocations: 12.03 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.628e-05/0.004251, allocations: 14.08 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.112e-05/0.004333, allocations: 117.7 kB / 0.7626 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.004344, allocations: 4.312 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.004354, allocations: 8.375 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.894e-05/0.004453, allocations: 84.88 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.004458, allocations: 1.75 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.004465, allocations: 4.359 kB / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.004469, allocations: 384 / 0.7627 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.538e-05/0.004495, allocations: 32.67 kB / 0.7627 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.384e-05/0.004569, allocations: 76.36 kB / 0.7628 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.242e-05/0.004621, allocations: 42.52 kB / 0.7629 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/0.004648, allocations: 33.64 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-06/0.004652, allocations: 0.75 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.004757, allocations: 106.1 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 9.81e-07/0.004758, allocations: 0 / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0002139/0.004972, allocations: 206 kB / 0.7632 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.005026, allocations: 83.31 kB / 0.7633 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.005093, allocations: 130.6 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.005127, allocations: 47.03 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.005152, allocations: 84.8 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.613e-05/0.005218, allocations: 95.25 kB / 0.7636 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.005302, allocations: 93.61 kB / 0.7637 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.00548, allocations: 340 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-05/0.005542, allocations: 51.47 kB / 0.7641 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.912e-05/0.005631, allocations: 109.3 kB / 0.7642 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.005818, allocations: 213 kB / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.005821, allocations: 3.25 kB / 0.7644 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002647/0.006086, allocations: 250.4 kB / 0.7646 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.006099, allocations: 10.33 kB / 0.7646 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.006106, allocations: 4 kB / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.006117, allocations: 0 / 0.7646 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.0063, allocations: 72.09 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.006304, allocations: 7.031 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.006362, allocations: 43.61 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.006376, allocations: 11.94 kB / 0.7648 GB, free: 1.637 MB / 0.7136 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.0001273/0.006503, allocations: 174.4 kB / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.006513, allocations: 0 / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.00654, allocations: 9.312 kB / 0.7649 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.006545, allocations: 4 kB / 0.7649 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.006546, allocations: 3.031 kB / 0.7649 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.00655, allocations: 3.984 kB / 0.7649 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.16e-05/0.006632, allocations: 85.62 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006633, allocations: 0 / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-06/0.006641, allocations: 0 / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.006642, allocations: 0 / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.006648, allocations: 4 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.006649, allocations: 0 / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.00665, allocations: 0.5312 kB / 0.765 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.006816, allocations: 197 kB / 0.7652 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.00683, allocations: 17.28 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.006855, allocations: 19.98 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.006867, allocations: 4 kB / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.006882, allocations: 2.438 kB / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.006886, allocations: 0 / 0.7653 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.371e-05/0.0069, allocations: 12.84 kB / 0.7653 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.0069, allocations: 0 / 0.7653 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002256/0.007125, allocations: 51.94 kB / 0.7653 GB, free: 1.02 MB / 0.7136 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.0003624/0.007488, allocations: 210.2 kB / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.007652, allocations: 147.9 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.007655, allocations: 0.5312 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.579e-05/0.007691, allocations: 49.28 kB / 0.7657 GB, free: 0.6367 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.397e-05/0.007755, allocations: 9.438 kB / 0.7657 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.008011, allocations: 243 kB / 0.766 GB, free: 376 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.008052, allocations: 76.42 kB / 0.766 GB, free: 276 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.747e-05/0.008079, allocations: 13.23 kB / 0.766 GB, free: 264 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.008119, allocations: 63.97 kB / 0.7661 GB, free: 200 kB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/0.00812, allocations: 0 / 0.7661 GB, free: 200 kB / 0.7136 GB Notification: Performance of Templates: time 0.003772/0.01189, allocations: 1.87 MB / 0.7679 GB, free: 14.44 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.9619906968437135]