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.0008518/0.0008518, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001112/0.001112, allocations: 170 kB / 23.27 MB, free: 1.223 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.9905/0.9905, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.37/2.37, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.674e-06/1.674e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.384e-05/1.551e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001453/0.001468, allocations: 1.266 MB / 0.8909 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0005597/0.002028, allocations: 358.8 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.002058, allocations: 4 kB / 0.8913 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.952e-05/0.002138, allocations: 7.938 kB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 1.908e-05/0.002157, allocations: 3.938 kB / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004079/0.002565, allocations: 99.56 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.002632, allocations: 23.91 kB / 0.8914 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.211e-05/0.002664, allocations: 4 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.021e-05/0.002705, allocations: 11.98 kB / 0.8914 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.334e-05/0.002728, allocations: 7.969 kB / 0.8914 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.002743, allocations: 4 kB / 0.8915 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.002924, allocations: 123.7 kB / 0.8916 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.002965, allocations: 23.92 kB / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.002984, allocations: 7.938 kB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.003133, allocations: 127.5 kB / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003136, allocations: 0 / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003136, allocations: 0 / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.695e-06/0.003139, allocations: 4 kB / 0.8917 GB, free: 7.719 MB / 0.8542 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.0003359/0.003475, allocations: 470.7 kB / 0.8922 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.003508, allocations: 8.625 kB / 0.8922 GB, free: 7.203 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.003575, allocations: 16.83 kB / 0.8922 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.107e-05/0.003646, allocations: 124.4 kB / 0.8923 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.003658, allocations: 4.375 kB / 0.8923 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.003665, allocations: 384 / 0.8923 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.9e-05/0.003744, allocations: 85.84 kB / 0.8924 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.00375, allocations: 4.125 kB / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.003755, allocations: 384 / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.003759, allocations: 384 / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.00378, allocations: 32.52 kB / 0.8924 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.907e-05/0.003869, allocations: 101.2 kB / 0.8925 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.52e-05/0.003914, allocations: 55.05 kB / 0.8926 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.003936, allocations: 31.69 kB / 0.8926 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.6e-06/0.003942, allocations: 0 / 0.8926 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.176e-05/0.004034, allocations: 107 kB / 0.8927 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 6.01e-07/0.004034, allocations: 4 kB / 0.8927 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.0002763/0.00431, allocations: 296.5 kB / 0.893 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.004351, allocations: 95.27 kB / 0.8931 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.004427, allocations: 185.8 kB / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.00445, allocations: 45.69 kB / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.004488, allocations: 131.5 kB / 0.8934 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.163e-05/0.004549, allocations: 103.2 kB / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.97e-05/0.004619, allocations: 103.3 kB / 0.8936 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.004739, allocations: 0.5195 MB / 0.8941 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.00478, allocations: 48.62 kB / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.792e-05/0.004867, allocations: 134.2 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.005018, allocations: 222.3 kB / 0.8945 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00502, allocations: 0 / 0.8945 GB, free: 4.582 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003438/0.005364, allocations: 295.2 kB / 0.8948 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.005375, allocations: 8 kB / 0.8948 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.005381, allocations: 0 / 0.8948 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.005391, allocations: 4 kB / 0.8948 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.005522, allocations: 68.06 kB / 0.8949 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.005527, allocations: 4 kB / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.005562, allocations: 35.67 kB / 0.8949 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.005572, allocations: 8 kB / 0.8949 GB, free: 4.164 MB / 0.8542 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.0001027/0.005675, allocations: 220.4 kB / 0.8951 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-06/0.005683, allocations: 12.14 kB / 0.8952 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.938e-05/0.005703, allocations: 5.312 kB / 0.8952 GB, free: 3.926 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.005705, allocations: 3.984 kB / 0.8952 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.005706, allocations: 0 / 0.8952 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.005709, allocations: 4 kB / 0.8952 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.194e-05/0.005781, allocations: 117 kB / 0.8953 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.005783, allocations: 0 / 0.8953 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-06/0.005789, allocations: 4 kB / 0.8953 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.00579, allocations: 0 / 0.8953 GB, free: 3.773 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.005796, allocations: 4 kB / 0.8953 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005796, allocations: 4 kB / 0.8953 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.005798, allocations: 3.984 kB / 0.8953 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.006002, allocations: 282.9 kB / 0.8956 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.006014, allocations: 19.84 kB / 0.8956 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.006033, allocations: 23.92 kB / 0.8956 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-06/0.006041, allocations: 0 / 0.8956 GB, free: 3.418 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.42e-05/0.006056, allocations: 7.938 kB / 0.8956 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.00606, allocations: 7.984 kB / 0.8956 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.746e-05/0.006087, allocations: 123.2 kB / 0.8957 GB, free: 3.281 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006087, allocations: 4 kB / 0.8957 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001638/0.006251, allocations: 39.94 kB / 0.8958 GB, free: 3.238 MB / 0.8542 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.0002497/0.006501, allocations: 216 kB / 0.896 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.006649, allocations: 154.8 kB / 0.8961 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.11e-07/0.00665, allocations: 4.125 kB / 0.8961 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.538e-05/0.006685, allocations: 55.16 kB / 0.8962 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.006789, allocations: 15.92 kB / 0.8962 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002174/0.007007, allocations: 233.3 kB / 0.8964 GB, free: 2.543 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.007041, allocations: 71.84 kB / 0.8965 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.007065, allocations: 12.64 kB / 0.8965 GB, free: 2.438 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.715e-05/0.007102, allocations: 82.2 kB / 0.8966 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.007102, allocations: 0 / 0.8966 GB, free: 2.355 MB / 0.8542 GB Notification: Performance of Templates: time 0.002888/0.00999, allocations: 1.717 MB / 0.8983 GB, free: 0.6523 MB / 0.8542 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 -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.154610597062856]