Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.001013/0.001013, 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.001114/0.001114, allocations: 161 kB / 24.16 MB, free: 336 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.081/1.081, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.947/1.947, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.639e-05, allocations: 2.312 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002914/0.002941, allocations: 1.337 MB / 0.7613 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004024, allocations: 494.2 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.004059, allocations: 0.5312 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.962e-05/0.004149, allocations: 4.875 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.794e-05/0.004177, allocations: 1.312 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.00477, allocations: 126.6 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.00486, allocations: 21.89 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.004902, allocations: 11.97 kB / 0.762 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.004952, allocations: 13.84 kB / 0.762 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.067e-05/0.004982, allocations: 4.656 kB / 0.762 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.004996, allocations: 4 kB / 0.762 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003805/0.005377, allocations: 160.8 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.005422, allocations: 21.12 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.005455, allocations: 20.08 kB / 0.7622 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.005719, allocations: 153 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.005722, allocations: 0 / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005723, allocations: 0 / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.005728, allocations: 0 / 0.7623 GB, free: 4.363 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.0004479/0.006176, allocations: 347.5 kB / 0.7626 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.006214, allocations: 16.62 kB / 0.7627 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.776e-05/0.006312, allocations: 12.92 kB / 0.7627 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.006421, allocations: 118.4 kB / 0.7628 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.006439, allocations: 4.375 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.006447, allocations: 1.312 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.006579, allocations: 92.36 kB / 0.7629 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.006589, allocations: 4.172 kB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.006596, allocations: 1.625 kB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.006602, allocations: 384 / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.519e-05/0.006637, allocations: 32.62 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.006744, allocations: 76.28 kB / 0.763 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.149e-05/0.006815, allocations: 39.73 kB / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/0.006852, allocations: 32.89 kB / 0.7631 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.006861, allocations: 1.031 kB / 0.7631 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.007003, allocations: 104.2 kB / 0.7632 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/0.007005, allocations: 1.25 kB / 0.7632 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0002813/0.007286, allocations: 213.9 kB / 0.7634 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.007353, allocations: 83.33 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.007445, allocations: 127.6 kB / 0.7636 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.007491, allocations: 49.69 kB / 0.7636 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.007527, allocations: 88.78 kB / 0.7637 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.151e-05/0.007619, allocations: 96.23 kB / 0.7638 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.007722, allocations: 85.61 kB / 0.7639 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.00784, allocations: 338.7 kB / 0.7642 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-05/0.007924, allocations: 58.22 kB / 0.7643 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.008049, allocations: 109.3 kB / 0.7644 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.008306, allocations: 214.9 kB / 0.7646 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.008309, allocations: 2.719 kB / 0.7646 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003539/0.008663, allocations: 250.3 kB / 0.7648 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.00868, allocations: 4 kB / 0.7648 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.008689, allocations: 4 kB / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.008704, allocations: 1.281 kB / 0.7648 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.008963, allocations: 71.91 kB / 0.7649 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.00897, allocations: 4 kB / 0.7649 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.009046, allocations: 43.61 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.009066, allocations: 12.69 kB / 0.7649 GB, free: 1.484 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.0001437/0.009209, allocations: 167.8 kB / 0.7651 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.009227, allocations: 11.98 kB / 0.7651 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.009257, allocations: 5.625 kB / 0.7651 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.009261, allocations: 5.031 kB / 0.7651 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.009265, allocations: 4 kB / 0.7651 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.009268, allocations: 4.875 kB / 0.7651 GB, free: 1.285 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001031/0.009372, allocations: 81.72 kB / 0.7652 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.009375, allocations: 3.984 kB / 0.7652 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/0.009393, allocations: 1.25 kB / 0.7652 GB, free: 1.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.009397, allocations: 4 kB / 0.7652 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.009403, allocations: 0 / 0.7652 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.009404, allocations: 2.062 kB / 0.7652 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009405, allocations: 0 / 0.7652 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.009621, allocations: 189.1 kB / 0.7654 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.009641, allocations: 19.83 kB / 0.7654 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.009673, allocations: 23.98 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.009692, allocations: 0 / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.00971, allocations: 0.625 kB / 0.7654 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.009718, allocations: 4 kB / 0.7654 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.189e-05/0.00974, allocations: 17.69 kB / 0.7655 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.00974, allocations: 0.8125 kB / 0.7655 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002989/0.01004, allocations: 59.8 kB / 0.7655 GB, free: 0.8477 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.0004597/0.0105, allocations: 220.1 kB / 0.7657 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.01073, allocations: 149.5 kB / 0.7659 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.01073, allocations: 0 / 0.7659 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.01078, allocations: 44.83 kB / 0.7659 GB, free: 476 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.673e-05/0.01087, allocations: 9.75 kB / 0.7659 GB, free: 468 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.01122, allocations: 247.6 kB / 0.7662 GB, free: 196 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.038e-05/0.01127, allocations: 76.42 kB / 0.7662 GB, free: 96 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.01131, allocations: 15.08 kB / 0.7662 GB, free: 84 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.01136, allocations: 59.38 kB / 0.7663 GB, free: 24 kB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/0.01136, allocations: 0 / 0.7663 GB, free: 24 kB / 0.7136 GB Notification: Performance of Templates: time 0.00496/0.01632, allocations: 1.951 MB / 0.7682 GB, free: 14.2 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.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.264097941108048]