Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.32/2.32, allocations: 251.3 MB / 266.2 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 182.8 kB / 325.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.558/2.558, allocations: 205.4 MB / 0.5767 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009231/0.0009229, allocations: 102.7 kB / 0.6813 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 10.72 kB / 0.7953 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.198, allocations: 106.2 MB / 0.899 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001295/0.1993, allocations: 0.9352 MB / 0.8999 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008178/0.2002, allocations: 364.8 kB / 0.9003 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.2002, allocations: 4 kB / 0.9003 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.2003, allocations: 0 / 0.9003 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.789e-05/0.2003, allocations: 0 / 0.9003 GB, free: 64.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.2008, allocations: 75.78 kB / 0.9004 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.412e-05/0.2009, allocations: 15.98 kB / 0.9004 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.2009, allocations: 0 / 0.9004 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.2009, allocations: 8 kB / 0.9004 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.004e-05/0.201, allocations: 11.92 kB / 0.9004 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.201, allocations: 0 / 0.9004 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.2012, allocations: 87.84 kB / 0.9005 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.2012, allocations: 4 kB / 0.9005 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.2013, allocations: 29.7 kB / 0.9005 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.2014, allocations: 59.84 kB / 0.9006 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2014, allocations: 0 / 0.9006 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2014, allocations: 0 / 0.9006 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2015, allocations: 0 / 0.9006 GB, free: 64.34 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003826/0.2018, allocations: 377.1 kB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2019, allocations: 8.031 kB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.2019, allocations: 4.938 kB / 0.9009 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.202, allocations: 164.4 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.2021, allocations: 4.375 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2021, allocations: 4.375 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2022, allocations: 46.17 kB / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.2023, allocations: 192 / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2023, allocations: 7.922 kB / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.2023, allocations: 0 / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.659e-05/0.2023, allocations: 4 kB / 0.9012 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.2025, allocations: 153.7 kB / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.779e-05/0.2026, allocations: 30.72 kB / 0.9013 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.195e-05/0.2026, allocations: 16.84 kB / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.2026, allocations: 0 / 0.9013 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.2028, allocations: 55.34 kB / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/0.2028, allocations: 0 / 0.9014 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0002316/0.2031, allocations: 73.61 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.2031, allocations: 51.41 kB / 0.9015 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.227e-05/0.2032, allocations: 101.8 kB / 0.9016 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.2032, allocations: 29.7 kB / 0.9016 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.945e-05/0.2032, allocations: 84.08 kB / 0.9017 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.2033, allocations: 11.84 kB / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.2033, allocations: 0 / 0.9017 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.2033, allocations: 314.8 kB / 0.902 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.2034, allocations: 12.11 kB / 0.902 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.2034, allocations: 35.38 kB / 0.9021 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.2035, allocations: 12 kB / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2035, allocations: 0 / 0.9021 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001259/0.2036, allocations: 69.67 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2036, allocations: 11.97 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2037, allocations: 0 / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2037, allocations: 4 kB / 0.9022 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.2038, allocations: 7.938 kB / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2038, allocations: 0 / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.325e-05/0.2038, allocations: 7.938 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2039, allocations: 4 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.2039, allocations: 114 kB / 0.9023 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.204, allocations: 11.84 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.204, allocations: 7.5 kB / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.204, allocations: 0 / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.204, allocations: 0 / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.204, allocations: 0 / 0.9023 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001024/0.2041, allocations: 153.7 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2042, allocations: 0 / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.2042, allocations: 4.234 kB / 0.9025 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2042, allocations: 3.938 kB / 0.9025 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2042, allocations: 0 / 0.9025 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2042, allocations: 3.984 kB / 0.9025 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2042, allocations: 7.984 kB / 0.9025 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.2044, allocations: 85.05 kB / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.242e-05/0.2044, allocations: 77.11 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.2045, allocations: 11.92 kB / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.853e-05/0.2045, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.2045, allocations: 0 / 0.9026 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.2046, allocations: 4 kB / 0.9027 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.574e-05/0.2046, allocations: 83.28 kB / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.6e-07/0.2046, allocations: 0 / 0.9027 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003033/0.2049, allocations: 27.98 kB / 0.9028 GB, free: 61.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003645/0.2053, allocations: 163.7 kB / 0.9029 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.2054, allocations: 28.14 kB / 0.9029 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2054, allocations: 4.062 kB / 0.9029 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.2055, allocations: 12 kB / 0.903 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.2057, allocations: 5.625 kB / 0.903 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.206, allocations: 120.5 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.2061, allocations: 0.677 MB / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.2061, allocations: 0 / 0.9037 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.822e-05/0.2062, allocations: 11.44 kB / 0.9037 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.2062, allocations: 4 kB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.003867/0.2101, allocations: 0.926 MB / 0.9047 GB, free: 59.76 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1)