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.0009761/0.0009761, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001004/0.001004, allocations: 165.6 kB / 24.87 MB, free: 8.891 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 0.9645/0.9645, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.056/2.056, allocations: 377.9 MB / 0.6247 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.373e-06/1.373e-06, allocations: 0 / 0.8127 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.457e-05, allocations: 2.312 kB / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001717/0.001741, allocations: 1.267 MB / 0.814 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000595/0.002336, allocations: 373.2 kB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.002367, allocations: 0 / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.614e-05/0.002453, allocations: 4.375 kB / 0.8143 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 2.01e-05/0.002473, allocations: 4.812 kB / 0.8143 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.002901, allocations: 99.56 kB / 0.8144 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.002972, allocations: 20.7 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.003009, allocations: 11.97 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.271e-05/0.003042, allocations: 9.688 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.51e-05/0.003067, allocations: 7.984 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.003079, allocations: 0 / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.003267, allocations: 123.7 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.003305, allocations: 25.45 kB / 0.8146 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.003328, allocations: 11.92 kB / 0.8146 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.003499, allocations: 123.5 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003501, allocations: 4 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003502, allocations: 0.9375 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.003506, allocations: 0 / 0.8148 GB, free: 15.42 MB / 0.7761 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.0006894/0.004196, allocations: 463.3 kB / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.004238, allocations: 12.03 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.004317, allocations: 14.44 kB / 0.8152 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.004407, allocations: 124.4 kB / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.004422, allocations: 384 / 0.8153 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.00443, allocations: 8.359 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.004517, allocations: 78.08 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004524, allocations: 192 / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.004532, allocations: 5.078 kB / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.004536, allocations: 384 / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.004561, allocations: 29.3 kB / 0.8155 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.289e-05/0.004654, allocations: 114.7 kB / 0.8156 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.307e-05/0.004707, allocations: 51.05 kB / 0.8156 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.004731, allocations: 27.69 kB / 0.8156 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.004737, allocations: 0.5938 kB / 0.8156 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.004837, allocations: 111.8 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 9.32e-07/0.004838, allocations: 0 / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.0003011/0.005139, allocations: 306.2 kB / 0.816 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.005193, allocations: 88.31 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/0.005277, allocations: 173.9 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.005304, allocations: 53.67 kB / 0.8163 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.681e-05/0.005341, allocations: 128.9 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.005409, allocations: 111.2 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.005481, allocations: 103.3 kB / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.005601, allocations: 0.5156 MB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.005645, allocations: 46.38 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.778e-05/0.005733, allocations: 134.2 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.005888, allocations: 224.5 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.005891, allocations: 0 / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002544/0.006145, allocations: 297.6 kB / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.006159, allocations: 4 kB / 0.8178 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.006168, allocations: 4 kB / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.006178, allocations: 0 / 0.8179 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.006327, allocations: 67.91 kB / 0.8179 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006332, allocations: 4 kB / 0.8179 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.006373, allocations: 35.67 kB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.006386, allocations: 15.98 kB / 0.818 GB, free: 11.88 MB / 0.7761 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.0001204/0.006507, allocations: 208.1 kB / 0.8182 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.006517, allocations: 7.906 kB / 0.8182 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.006545, allocations: 17.53 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.006548, allocations: 4.797 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.006549, allocations: 0 / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006553, allocations: 0.9375 kB / 0.8182 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.314e-05/0.006636, allocations: 121 kB / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.006638, allocations: 1.219 kB / 0.8183 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.093e-06/0.006645, allocations: 3.938 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006646, allocations: 0 / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.006653, allocations: 7.984 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.006654, allocations: 0.8438 kB / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006655, allocations: 0 / 0.8183 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.006884, allocations: 275.5 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.006896, allocations: 15.84 kB / 0.8186 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.006919, allocations: 23.89 kB / 0.8186 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-06/0.006928, allocations: 7.938 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.006946, allocations: 3.984 kB / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.006949, allocations: 0 / 0.8186 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.216e-05/0.006982, allocations: 123.2 kB / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006982, allocations: 0 / 0.8188 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001962/0.007178, allocations: 47.94 kB / 0.8188 GB, free: 10.99 MB / 0.7761 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.0003118/0.00749, allocations: 229.1 kB / 0.819 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.007654, allocations: 159.7 kB / 0.8192 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.007656, allocations: 0 / 0.8192 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.007694, allocations: 59.58 kB / 0.8192 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.0078, allocations: 9.156 kB / 0.8192 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.008046, allocations: 234.4 kB / 0.8195 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.57e-05/0.008082, allocations: 71.84 kB / 0.8195 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.008113, allocations: 17.28 kB / 0.8195 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.008153, allocations: 81.23 kB / 0.8196 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.008154, allocations: 0 / 0.8196 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.003327/0.01148, allocations: 1.732 MB / 0.8213 GB, free: 8.406 MB / 0.7761 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 -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: 5.3043487230315804]