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.0009263/0.0009263, 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.0009934/0.0009934, 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 1.042/1.042, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.871/1.871, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.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.034e-06/2.034e-06, allocations: 0 / 0.76 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.236e-05, allocations: 2.312 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002004/0.002026, allocations: 1.336 MB / 0.7613 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008923/0.002919, allocations: 466.5 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.00296, allocations: 0 / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.918e-05/0.003049, allocations: 7.938 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.311e-05/0.003083, allocations: 5.906 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.003605, allocations: 117.8 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.003695, allocations: 24.12 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.003735, allocations: 8.484 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.003783, allocations: 14.92 kB / 0.7619 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.452e-05/0.003818, allocations: 17.17 kB / 0.762 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.003834, allocations: 0 / 0.762 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.004116, allocations: 152.2 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.00416, allocations: 25.02 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.004188, allocations: 12.55 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.004386, allocations: 151.5 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004389, allocations: 0.8438 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004389, allocations: 0 / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.004395, allocations: 1.031 kB / 0.7623 GB, free: 4.352 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004804/0.004875, allocations: 358.8 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.004911, allocations: 12.72 kB / 0.7626 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.088e-05/0.005002, allocations: 8.922 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.005115, allocations: 115.5 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.005137, allocations: 4.375 kB / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.005146, allocations: 384 / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.005273, allocations: 87.78 kB / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.005284, allocations: 192 / 0.7628 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.005293, allocations: 5.578 kB / 0.7629 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.005302, allocations: 4.375 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.497e-05/0.005327, allocations: 23.94 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.659e-05/0.005424, allocations: 80.41 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.403e-05/0.005488, allocations: 50.5 kB / 0.763 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.005517, allocations: 29.64 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.005524, allocations: 4.75 kB / 0.763 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.005628, allocations: 98.61 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=38): time 1.172e-06/0.005629, allocations: 0 / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38): time 0.0002405/0.00587, allocations: 221.9 kB / 0.7633 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.005927, allocations: 91.08 kB / 0.7634 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.006011, allocations: 122.9 kB / 0.7635 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.006046, allocations: 50.62 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.151e-05/0.006088, allocations: 92.78 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.006159, allocations: 104.4 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.006231, allocations: 85.62 kB / 0.7639 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.006333, allocations: 338.7 kB / 0.7642 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.006386, allocations: 51.47 kB / 0.7642 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.105e-05/0.006477, allocations: 120 kB / 0.7644 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.006675, allocations: 226.5 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.006677, allocations: 0 / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0002676/0.006945, allocations: 258.3 kB / 0.7648 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.006958, allocations: 5.875 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.006968, allocations: 3.984 kB / 0.7648 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.006986, allocations: 4 kB / 0.7648 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.007155, allocations: 71.91 kB / 0.7649 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002148/0.00737, allocations: 7.938 kB / 0.7649 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.00742, allocations: 36.61 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.007435, allocations: 15.88 kB / 0.765 GB, free: 1.418 MB / 0.7136 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.0001319/0.007567, allocations: 176.5 kB / 0.7651 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.007578, allocations: 4 kB / 0.7651 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.007604, allocations: 5.625 kB / 0.7651 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.007605, allocations: 0 / 0.7651 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.007607, allocations: 2.438 kB / 0.7651 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.007613, allocations: 3.984 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.504e-05/0.007698, allocations: 89.62 kB / 0.7652 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007699, allocations: 4 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.007712, allocations: 0 / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.007715, allocations: 4 kB / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.00772, allocations: 0 / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.007722, allocations: 1.375 kB / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.007725, allocations: 3.984 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.007886, allocations: 198.3 kB / 0.7654 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.007897, allocations: 16.88 kB / 0.7654 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.007921, allocations: 23.98 kB / 0.7655 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-06/0.00793, allocations: 0 / 0.7655 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.007947, allocations: 4.797 kB / 0.7655 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.007953, allocations: 4 kB / 0.7655 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.123e-05/0.007964, allocations: 13.77 kB / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007964, allocations: 0 / 0.7655 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001853/0.008149, allocations: 55.92 kB / 0.7655 GB, free: 0.7773 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 (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.0003238/0.008473, allocations: 216.6 kB / 0.7657 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.008638, allocations: 154.9 kB / 0.7659 GB, free: 452 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.00864, allocations: 0 / 0.7659 GB, free: 452 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.00868, allocations: 52.75 kB / 0.7659 GB, free: 396 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.734e-05/0.008748, allocations: 11.88 kB / 0.766 GB, free: 384 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.008998, allocations: 249.2 kB / 0.7662 GB, free: 112 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.809e-05/0.009036, allocations: 72.34 kB / 0.7663 GB, free: 16 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.009065, allocations: 17.12 kB / 0.7663 GB, free: 0 / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.009114, allocations: 59.38 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.009114, allocations: 2.75 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.003779/0.01289, allocations: 1.925 MB / 0.7682 GB, free: 14.13 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.152471549808979]