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.0008237/0.0008237, allocations: 80.92 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.001021/0.001021, 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.9194/0.9194, allocations: 177.2 MB / 204.6 MB, free: 5.492 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.833/1.833, allocations: 377.9 MB / 0.624 GB, free: 8.352 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 1.032e-06/1.032e-06, allocations: 0 / 0.76 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.548e-06/1.058e-05, allocations: 2.312 kB / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001938/0.001949, allocations: 1.292 MB / 0.7612 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000727/0.002676, allocations: 465.2 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.002701, allocations: 3.938 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.496e-05/0.002766, allocations: 0.875 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.105e-05/0.002787, allocations: 5.25 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.003146, allocations: 126.7 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.003208, allocations: 32.23 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.673e-05/0.003234, allocations: 0 / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.309e-05/0.003267, allocations: 14.61 kB / 0.7619 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/0.003293, allocations: 16.95 kB / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.003304, allocations: 0 / 0.7619 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.003476, allocations: 145.8 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.003508, allocations: 24.47 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.003532, allocations: 8.922 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.003682, allocations: 155.8 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.003683, allocations: 0.875 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.6e-07/0.003684, allocations: 0 / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.555e-06/0.003686, allocations: 0 / 0.7622 GB, free: 4.449 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.000713/0.004399, allocations: 359.8 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.474e-05/0.004424, allocations: 8.031 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.004484, allocations: 5.969 kB / 0.7626 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.005e-05/0.004555, allocations: 121.7 kB / 0.7627 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.004565, allocations: 1.062 kB / 0.7627 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.004574, allocations: 4.375 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.012e-05/0.004664, allocations: 89.56 kB / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.08e-06/0.004669, allocations: 192 / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.004675, allocations: 384 / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.004678, allocations: 384 / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.167e-05/0.0047, allocations: 27.92 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.137e-05/0.004771, allocations: 84.5 kB / 0.7629 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.696e-05/0.004818, allocations: 46.45 kB / 0.7629 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.004844, allocations: 34.91 kB / 0.7629 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-06/0.004848, allocations: 0 / 0.7629 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.635e-05/0.004935, allocations: 104.9 kB / 0.763 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=38): time 6.21e-07/0.004935, allocations: 0 / 0.763 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38): time 0.0001849/0.00512, allocations: 218.6 kB / 0.7633 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.005172, allocations: 95.06 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/0.005229, allocations: 123.4 kB / 0.7635 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.005254, allocations: 49.69 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.005278, allocations: 89.41 kB / 0.7636 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.005329, allocations: 101.5 kB / 0.7637 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.005387, allocations: 89.59 kB / 0.7638 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.00546, allocations: 342.7 kB / 0.7641 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.005502, allocations: 51.47 kB / 0.7642 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.005914, allocations: 114.1 kB / 0.7643 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.006065, allocations: 225.3 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006067, allocations: 1.25 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0001952/0.006263, allocations: 255.3 kB / 0.7647 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.006273, allocations: 10.62 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.006279, allocations: 320 / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.00629, allocations: 4 kB / 0.7647 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.006428, allocations: 67.89 kB / 0.7648 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.006434, allocations: 11.94 kB / 0.7648 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.006474, allocations: 39.67 kB / 0.7649 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.006485, allocations: 11.94 kB / 0.7649 GB, free: 1.52 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 9.989e-05/0.006585, allocations: 178.2 kB / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.006591, allocations: 0 / 0.765 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.006611, allocations: 9.625 kB / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.006612, allocations: 0 / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.006613, allocations: 0 / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006617, allocations: 0 / 0.765 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.814e-05/0.006685, allocations: 93.61 kB / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.006685, allocations: 0 / 0.7651 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-06/0.006693, allocations: 4 kB / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.006694, allocations: 2.781 kB / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.006698, allocations: 0 / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.0067, allocations: 7.938 kB / 0.7651 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.0067, allocations: 0 / 0.7651 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.006827, allocations: 198.3 kB / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.006836, allocations: 15.84 kB / 0.7653 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.006856, allocations: 19.98 kB / 0.7654 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-06/0.006864, allocations: 4 kB / 0.7654 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.006877, allocations: 4.516 kB / 0.7654 GB, free: 0.9531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.006882, allocations: 5.484 kB / 0.7654 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.799e-06/0.006892, allocations: 8.859 kB / 0.7654 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006892, allocations: 4 kB / 0.7654 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000149/0.007041, allocations: 47.94 kB / 0.7654 GB, free: 0.8867 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.000291/0.007332, allocations: 232.5 kB / 0.7657 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001405/0.007472, allocations: 150.9 kB / 0.7658 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.007474, allocations: 0 / 0.7658 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-05/0.007504, allocations: 48.77 kB / 0.7659 GB, free: 500 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.381e-05/0.007558, allocations: 11.92 kB / 0.7659 GB, free: 488 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.00778, allocations: 247.3 kB / 0.7661 GB, free: 216 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.442e-05/0.007814, allocations: 72.34 kB / 0.7662 GB, free: 120 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.423e-05/0.007838, allocations: 14.55 kB / 0.7662 GB, free: 108 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.00787, allocations: 59.38 kB / 0.7662 GB, free: 48 kB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.00787, allocations: 0 / 0.7662 GB, free: 48 kB / 0.7136 GB Notification: Performance of Templates: time 0.003069/0.01094, allocations: 1.929 MB / 0.7681 GB, free: 14.24 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 -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: 4.857956704217941]