Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 193 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 75.72 kB / 0.6708 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3288, allocations: 114.6 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002476/0.3313, allocations: 0.8251 MB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3331, allocations: 1.153 MB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.3331, allocations: 0 / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.3332, allocations: 3.938 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.3333, allocations: 11.91 kB / 0.7846 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.3338, allocations: 122.9 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.3339, allocations: 111.8 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.334, allocations: 16 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3341, allocations: 51.81 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.3342, allocations: 35.89 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.3343, allocations: 12 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-05/0.3344, allocations: 23.92 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.3344, allocations: 7.984 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.3345, allocations: 47.83 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.3347, allocations: 108 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3347, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3347, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3347, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007392/0.3354, allocations: 432.9 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3355, allocations: 8.031 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.3356, allocations: 12.84 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3357, allocations: 176.2 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.3357, allocations: 4.375 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.3358, allocations: 12.31 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3361, allocations: 74.2 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.3361, allocations: 192 / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3361, allocations: 7.938 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.3361, allocations: 4 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.3364, allocations: 67.92 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3369, allocations: 336.6 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.3371, allocations: 58.47 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.3373, allocations: 44.91 kB / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.3373, allocations: 0 / 0.7863 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/0.3376, allocations: 91.36 kB / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 3.216e-06/0.3377, allocations: 3.984 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006282/0.3383, allocations: 165.5 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3383, allocations: 51.41 kB / 0.7866 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3385, allocations: 133.6 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3385, allocations: 29.7 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.3386, allocations: 92.12 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.3386, allocations: 19.69 kB / 0.7869 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-05/0.3387, allocations: 33.7 kB / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3388, allocations: 322.8 kB / 0.7872 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.339, allocations: 60.2 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3393, allocations: 82.52 kB / 0.7874 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.3396, allocations: 152.1 kB / 0.7875 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3397, allocations: 0 / 0.7875 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005364/0.3402, allocations: 211.2 kB / 0.7877 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/0.3403, allocations: 37.69 kB / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3403, allocations: 0 / 0.7878 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3403, allocations: 4.062 kB / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.3405, allocations: 15.98 kB / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3405, allocations: 4 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.3407, allocations: 39.94 kB / 0.7878 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.3407, allocations: 8 kB / 0.7878 GB, free: 8.445 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001046/0.3409, allocations: 121.7 kB / 0.7879 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.3409, allocations: 11.91 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.3409, allocations: 12.36 kB / 0.788 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3409, allocations: 4 kB / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.341, allocations: 0 / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.341, allocations: 0 / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.3411, allocations: 177.6 kB / 0.7881 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3411, allocations: 0 / 0.7881 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.3412, allocations: 23.97 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3413, allocations: 0 / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3413, allocations: 3.938 kB / 0.7882 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3413, allocations: 4 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3413, allocations: 0 / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.3417, allocations: 152.8 kB / 0.7883 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.3417, allocations: 85.02 kB / 0.7884 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.3417, allocations: 4 kB / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.3418, allocations: 15.98 kB / 0.7884 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.3419, allocations: 3.984 kB / 0.7884 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.3419, allocations: 4 kB / 0.7884 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.342, allocations: 95.27 kB / 0.7885 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.342, allocations: 4 kB / 0.7885 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002154/0.3422, allocations: 24.09 kB / 0.7885 GB, free: 7.617 MB / 0.6075 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,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002067/0.3424, allocations: 111.2 kB / 0.7886 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005023/0.3429, allocations: 195.2 kB / 0.7888 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3429, allocations: 0 / 0.7888 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.3431, allocations: 43.97 kB / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.3434, allocations: 24.05 kB / 0.7889 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004026/0.3438, allocations: 167.9 kB / 0.7891 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3441, allocations: 0.6926 MB / 0.7897 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.3441, allocations: 8 kB / 0.7897 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.3442, allocations: 15.38 kB / 0.7898 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of SimCode: time 4.51e-07/0.3442, allocations: 0 / 0.7898 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of Templates: time 0.004275/0.3485, allocations: 1.395 MB / 0.7911 GB, free: 4.918 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)