Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001428/0.001428, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001684/0.001684, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 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.132/1.132, allocations: 177.1 MB / 203.8 MB, free: 5.453 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.586/2.586, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.929e-05/2.065e-05, allocations: 4.141 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001765/0.001785, allocations: 1.306 MB / 0.8399 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006218/0.002407, allocations: 378.7 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.002436, allocations: 0 / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.315e-05/0.002509, allocations: 3.938 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 1.86e-05/0.002528, allocations: 4 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.002957, allocations: 99.5 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.003023, allocations: 15.98 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.003057, allocations: 3.984 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.003097, allocations: 15.92 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.978e-05/0.003117, allocations: 0 / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.003128, allocations: 4 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.003342, allocations: 135.7 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.003377, allocations: 19.94 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.003397, allocations: 7.938 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.003559, allocations: 131.5 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.00356, allocations: 0 / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003561, allocations: 0 / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.003564, allocations: 3.938 kB / 0.8406 GB, free: 12.09 MB / 0.8073 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.0003298/0.003894, allocations: 335.1 kB / 0.841 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.003928, allocations: 12.62 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.535e-05/0.004003, allocations: 8.922 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.605e-05/0.004089, allocations: 121.6 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.004102, allocations: 384 / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.00411, allocations: 4.375 kB / 0.8411 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.004214, allocations: 92.53 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.004221, allocations: 8.188 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.004229, allocations: 4.359 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004234, allocations: 384 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.004258, allocations: 28.47 kB / 0.8412 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.397e-05/0.004332, allocations: 71.72 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.593e-05/0.004388, allocations: 38.58 kB / 0.8413 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.004412, allocations: 32.89 kB / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-06/0.004418, allocations: 0 / 0.8414 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.803e-05/0.004516, allocations: 107.9 kB / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=37): time 1.042e-06/0.004517, allocations: 0 / 0.8415 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=37): time 0.0001993/0.004716, allocations: 209.9 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.004773, allocations: 87.31 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.004834, allocations: 118.6 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.004861, allocations: 53.67 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.004885, allocations: 80.8 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.004946, allocations: 95.27 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.005014, allocations: 89.59 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.005092, allocations: 334.7 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.693e-05/0.005139, allocations: 51.47 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.005214, allocations: 117.3 kB / 0.8427 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.005377, allocations: 214.9 kB / 0.8429 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.00538, allocations: 3.938 kB / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002252/0.005605, allocations: 250.9 kB / 0.8431 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.005617, allocations: 8.156 kB / 0.8431 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.005624, allocations: 4 kB / 0.8431 GB, free: 9.352 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.005638, allocations: 4 kB / 0.8431 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.0058, allocations: 75.89 kB / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.005804, allocations: 0 / 0.8432 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.005843, allocations: 31.73 kB / 0.8432 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.005858, allocations: 15.94 kB / 0.8432 GB, free: 9.227 MB / 0.8073 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.0001007/0.005959, allocations: 168.6 kB / 0.8434 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.005968, allocations: 4 kB / 0.8434 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.005988, allocations: 5.547 kB / 0.8434 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.005993, allocations: 7.984 kB / 0.8434 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.005994, allocations: 0 / 0.8434 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005997, allocations: 3.938 kB / 0.8434 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.292e-05/0.00607, allocations: 85.61 kB / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.006073, allocations: 7.984 kB / 0.8435 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-06/0.00608, allocations: 4 kB / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006082, allocations: 0 / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.006086, allocations: 0 / 0.8435 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.006088, allocations: 4 kB / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.006089, allocations: 0 / 0.8435 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.006223, allocations: 185.1 kB / 0.8437 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.006236, allocations: 19.83 kB / 0.8437 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.006256, allocations: 16 kB / 0.8437 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.006267, allocations: 7.984 kB / 0.8437 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.006282, allocations: 4 kB / 0.8437 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.006286, allocations: 0 / 0.8437 GB, free: 8.668 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.077e-05/0.006297, allocations: 16.86 kB / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006297, allocations: 0 / 0.8438 GB, free: 8.648 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001725/0.006469, allocations: 51.86 kB / 0.8438 GB, free: 8.598 MB / 0.8073 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.0003165/0.006786, allocations: 216.6 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.006949, allocations: 143.7 kB / 0.8441 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.006952, allocations: 0 / 0.8441 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.006984, allocations: 44.83 kB / 0.8442 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.312e-05/0.007047, allocations: 7.938 kB / 0.8442 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002462/0.007293, allocations: 230 kB / 0.8444 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.768e-05/0.007331, allocations: 76.14 kB / 0.8445 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.007356, allocations: 16.64 kB / 0.8445 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.965e-05/0.007395, allocations: 63.38 kB / 0.8446 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of SimCode: time 6.41e-07/0.007396, allocations: 0 / 0.8446 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of Templates: time 0.003266/0.01066, allocations: 1.706 MB / 0.8462 GB, free: 6.098 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.668480149935931]