Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.001175/0.001175, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001143/0.001143, allocations: 161 kB / 24.16 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.037/1.037, allocations: 177.1 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.94/1.94, allocations: 377.9 MB / 0.624 GB, free: 8.312 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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.304e-05, allocations: 5.406 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001563/0.001576, allocations: 1.317 MB / 0.7613 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005522/0.002128, allocations: 388.3 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.002151, allocations: 1.25 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.648e-05/0.002217, allocations: 4.594 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.643e-05/0.002234, allocations: 0.6562 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.002602, allocations: 89.92 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.407e-05/0.002666, allocations: 22.06 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.994e-05/0.002696, allocations: 9.984 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.002729, allocations: 12 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.15e-05/0.00275, allocations: 6.125 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.002762, allocations: 4 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.002964, allocations: 128.7 kB / 0.7619 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.002999, allocations: 25.5 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.003019, allocations: 7.938 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.003172, allocations: 128.5 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003174, allocations: 0.5469 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.91e-07/0.003175, allocations: 1.156 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.003178, allocations: 0 / 0.7621 GB, free: 4.523 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.0002701/0.003448, allocations: 333 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.003475, allocations: 12.36 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.873e-05/0.003544, allocations: 8.922 kB / 0.7624 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.097e-05/0.003615, allocations: 121.6 kB / 0.7625 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.003624, allocations: 5.344 kB / 0.7626 GB, free: 4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.00363, allocations: 4.375 kB / 0.7626 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.71e-05/0.003707, allocations: 88.38 kB / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.003713, allocations: 0.7188 kB / 0.7626 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.003718, allocations: 5.875 kB / 0.7626 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.003722, allocations: 384 / 0.7626 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.068e-05/0.003742, allocations: 28.69 kB / 0.7627 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.116e-05/0.003804, allocations: 75.7 kB / 0.7627 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.587e-05/0.00385, allocations: 43.8 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.135e-05/0.003871, allocations: 28.86 kB / 0.7628 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-06/0.003875, allocations: 1.5 kB / 0.7628 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.203e-05/0.003957, allocations: 108.2 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 6.61e-07/0.003958, allocations: 0 / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0001656/0.004123, allocations: 202.6 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.004164, allocations: 87.31 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.569e-05/0.00422, allocations: 127.4 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.004245, allocations: 45.69 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.34e-05/0.004268, allocations: 85.55 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.004324, allocations: 95.3 kB / 0.7635 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.004385, allocations: 90.27 kB / 0.7636 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.455e-05/0.004469, allocations: 338.7 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.004514, allocations: 53.44 kB / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.272e-05/0.004587, allocations: 113.2 kB / 0.7641 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.004735, allocations: 213.4 kB / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.004737, allocations: 0 / 0.7643 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0001991/0.004936, allocations: 250.3 kB / 0.7645 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.004947, allocations: 6.281 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.004952, allocations: 4 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.00496, allocations: 0 / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.005101, allocations: 71.91 kB / 0.7646 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.005107, allocations: 4 kB / 0.7646 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.688e-05/0.005144, allocations: 35.69 kB / 0.7647 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.005155, allocations: 12.97 kB / 0.7647 GB, free: 1.688 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 9.386e-05/0.005249, allocations: 175.9 kB / 0.7648 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.005255, allocations: 4 kB / 0.7648 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.83e-05/0.005273, allocations: 9.297 kB / 0.7649 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.005275, allocations: 3.938 kB / 0.7649 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.005278, allocations: 9.812 kB / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005281, allocations: 0 / 0.7649 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.37e-05/0.005344, allocations: 81.66 kB / 0.7649 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.005345, allocations: 0 / 0.7649 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.005351, allocations: 4 kB / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.005351, allocations: 0.875 kB / 0.765 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.005356, allocations: 3.984 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005357, allocations: 0.6562 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.005358, allocations: 4 kB / 0.765 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.005489, allocations: 185.8 kB / 0.7651 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.005499, allocations: 16.47 kB / 0.7652 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.005519, allocations: 19.98 kB / 0.7652 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.335e-06/0.005528, allocations: 4.625 kB / 0.7652 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.005541, allocations: 7.984 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.005544, allocations: 0.5312 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.556e-06/0.005552, allocations: 13.48 kB / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005552, allocations: 0 / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001565/0.005709, allocations: 40.53 kB / 0.7652 GB, free: 1.074 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.0002745/0.005983, allocations: 220.7 kB / 0.7654 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.006131, allocations: 147.2 kB / 0.7656 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.006133, allocations: 0 / 0.7656 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.168e-05/0.006165, allocations: 43.27 kB / 0.7656 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.677e-05/0.006222, allocations: 7.938 kB / 0.7656 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.00658, allocations: 237.2 kB / 0.7659 GB, free: 436 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.006612, allocations: 73.94 kB / 0.7659 GB, free: 340 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.311e-05/0.006636, allocations: 12.64 kB / 0.7659 GB, free: 328 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.006669, allocations: 59.38 kB / 0.766 GB, free: 268 kB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.00667, allocations: 2.312 kB / 0.766 GB, free: 268 kB / 0.7136 GB Notification: Performance of Templates: time 0.00294/0.00961, allocations: 1.708 MB / 0.7677 GB, free: 14.66 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.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.998807874973863]