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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 105.2 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 198.1 kB / 20.03 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 245.7 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 489.3 MB / 0.7687 GB, free: 3.746 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001966/0.001966, allocations: 67.89 kB / 1.103 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8704/0.8723, allocations: 163.8 MB / 1.263 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002031/0.8744, allocations: 1.227 MB / 1.264 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007058/0.8751, allocations: 368.3 kB / 1.264 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.8752, allocations: 0.9688 kB / 1.264 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.152e-05/0.8753, allocations: 3.938 kB / 1.264 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 1.481e-05/0.8753, allocations: 1.469 kB / 1.264 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.8757, allocations: 96.14 kB / 1.264 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.157e-05/0.8758, allocations: 20.61 kB / 1.264 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.8758, allocations: 6.922 kB / 1.264 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.249e-05/0.8759, allocations: 9.484 kB / 1.264 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.561e-05/0.8759, allocations: 13.03 kB / 1.264 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.8759, allocations: 0.75 kB / 1.264 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.8761, allocations: 91.66 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.8762, allocations: 23.03 kB / 1.264 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.8762, allocations: 24.52 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.8764, allocations: 118.1 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8764, allocations: 0 / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8764, allocations: 3.938 kB / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.8764, allocations: 0.5312 kB / 1.264 GB, free: 6.918 MB / 0.9981 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.000414/0.8769, allocations: 440.2 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.8769, allocations: 8.594 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.877, allocations: 13.98 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.932e-05/0.8771, allocations: 176.2 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.8771, allocations: 2.516 kB / 1.265 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.8771, allocations: 7.5 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.8773, allocations: 146.8 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.8773, allocations: 4.188 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.8774, allocations: 4.656 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.8774, allocations: 1.453 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.8774, allocations: 64.05 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.8776, allocations: 187.6 kB / 1.265 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.8777, allocations: 111.8 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.808e-05/0.8778, allocations: 104.4 kB / 1.266 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.8778, allocations: 1.922 kB / 1.266 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.878, allocations: 174.3 kB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 1.703e-06/0.878, allocations: 0 / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.0006629/0.8787, allocations: 486.4 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.8788, allocations: 87.16 kB / 1.266 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.537e-05/0.8788, allocations: 126 kB / 1.267 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.8789, allocations: 51.89 kB / 1.267 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.8789, allocations: 86.3 kB / 1.267 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.148e-05/0.879, allocations: 94 kB / 1.267 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.516e-05/0.8791, allocations: 91.19 kB / 1.267 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.8791, allocations: 337.5 kB / 1.267 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.8793, allocations: 144 kB / 1.267 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.8796, allocations: 217.8 kB / 1.268 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.88, allocations: 404.4 kB / 1.268 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.88, allocations: 4 kB / 1.268 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005338/0.8806, allocations: 437.4 kB / 1.268 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.8806, allocations: 9.688 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8806, allocations: 1.688 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.8806, allocations: 3.672 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.8808, allocations: 20.39 kB / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.8808, allocations: 3.312 kB / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.8808, allocations: 30.8 kB / 1.268 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.8809, allocations: 17.16 kB / 1.268 GB, free: 4.355 MB / 0.9981 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.0001394/0.881, allocations: 185.5 kB / 1.269 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.881, allocations: 14.75 kB / 1.269 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.881, allocations: 9.828 kB / 1.269 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.8811, allocations: 4.719 kB / 1.269 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.8811, allocations: 5 kB / 1.269 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.8811, allocations: 0.5156 kB / 1.269 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.593e-05/0.8812, allocations: 182.3 kB / 1.269 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8812, allocations: 0.5625 kB / 1.269 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.8812, allocations: 3 kB / 1.269 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8812, allocations: 4.906 kB / 1.269 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.8812, allocations: 1.141 kB / 1.269 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8812, allocations: 0 / 1.269 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8812, allocations: 0.9375 kB / 1.269 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004881/0.8817, allocations: 408.6 kB / 1.269 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.8818, allocations: 93.58 kB / 1.269 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.8818, allocations: 28.48 kB / 1.269 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.8818, allocations: 4 kB / 1.269 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.8818, allocations: 2.266 kB / 1.269 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.8819, allocations: 2.672 kB / 1.269 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.072e-05/0.8819, allocations: 83.2 kB / 1.269 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.11e-07/0.8819, allocations: 4 kB / 1.269 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002848/0.8822, allocations: 47.27 kB / 1.269 GB, free: 3.613 MB / 0.9981 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.000383/0.8826, allocations: 210.5 kB / 1.27 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004097/0.883, allocations: 311.3 kB / 1.27 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.883, allocations: 0 / 1.27 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.8831, allocations: 110.9 kB / 1.27 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.8833, allocations: 3.047 kB / 1.27 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.8837, allocations: 303.8 kB / 1.27 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.8838, allocations: 0.7164 MB / 1.271 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.8839, allocations: 18.47 kB / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.8839, allocations: 0 / 1.271 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of Templates: time 0.004283/0.8881, allocations: 2.048 MB / 1.273 GB, free: 2.219 MB / 0.9981 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:time,y [Calling sys.exit(0), Time elapsed: 11.360627764835954]