Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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.0009709/0.0009709, allocations: 91.67 kB / 20.95 MB, free: 3.301 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.003584/0.003584, allocations: 162 kB / 24.38 MB, free: 8.586 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.9559/0.9559, allocations: 177.1 MB / 204.8 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.896/1.896, allocations: 389.6 MB / 0.6356 GB, free: 12.2 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.7756 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.318e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001842/0.001865, allocations: 0.7491 MB / 0.7763 GB, free: 4.43 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.003087, allocations: 1.311 MB / 0.7776 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.003132, allocations: 0 / 0.7776 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.003166, allocations: 7.922 kB / 0.7776 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.762e-05/0.003254, allocations: 24.94 kB / 0.7776 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.003779, allocations: 292.5 kB / 0.7779 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.003998, allocations: 260.4 kB / 0.7782 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.004076, allocations: 20.14 kB / 0.7782 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.00421, allocations: 141.5 kB / 0.7783 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.004324, allocations: 75.8 kB / 0.7784 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.004357, allocations: 24 kB / 0.7784 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.666e-05/0.004433, allocations: 32 kB / 0.7784 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.004454, allocations: 16.75 kB / 0.7784 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.004516, allocations: 75.86 kB / 0.7785 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.0047, allocations: 196.3 kB / 0.7787 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004702, allocations: 0 / 0.7787 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004703, allocations: 0 / 0.7787 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.004707, allocations: 3.156 kB / 0.7787 GB, free: 1.984 MB / 0.7292 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.0003758/0.005083, allocations: 389.8 kB / 0.7791 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.005113, allocations: 9.344 kB / 0.7791 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.005156, allocations: 20.92 kB / 0.7791 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.596e-05/0.005242, allocations: 121.6 kB / 0.7792 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.00526, allocations: 8.359 kB / 0.7792 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.005284, allocations: 12.38 kB / 0.7792 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.122e-05/0.005356, allocations: 62.94 kB / 0.7793 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.005362, allocations: 3.781 kB / 0.7793 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-06/0.005368, allocations: 384 / 0.7793 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.005374, allocations: 8.109 kB / 0.7793 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.00539, allocations: 8 kB / 0.7793 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.00565, allocations: 216.1 kB / 0.7795 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.547e-05/0.005685, allocations: 18.58 kB / 0.7795 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.363e-05/0.005699, allocations: 20.88 kB / 0.7796 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-06/0.005703, allocations: 0 / 0.7796 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9e-05/0.005793, allocations: 99.34 kB / 0.7797 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.005794, allocations: 1.125 kB / 0.7797 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001454/0.00594, allocations: 93.52 kB / 0.7798 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.005972, allocations: 55.41 kB / 0.7798 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.006042, allocations: 144.9 kB / 0.7799 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.006062, allocations: 33.7 kB / 0.78 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.006104, allocations: 100.6 kB / 0.7801 GB, free: 452 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.00612, allocations: 15.89 kB / 0.7801 GB, free: 436 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.006188, allocations: 62.33 kB / 0.7801 GB, free: 368 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/0.00626, allocations: 322.8 kB / 0.7805 GB, free: 36 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.00637, allocations: 146.2 kB / 0.7806 GB, free: 15.88 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.006483, allocations: 197.8 kB / 0.7808 GB, free: 15.64 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.006617, allocations: 217.1 kB / 0.781 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.006619, allocations: 0.5625 kB / 0.781 GB, free: 15.39 MB / 0.7449 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002471/0.006866, allocations: 375.8 kB / 0.7813 GB, free: 14.99 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.006916, allocations: 111.5 kB / 0.7815 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.006921, allocations: 0.75 kB / 0.7815 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.00693, allocations: 4 kB / 0.7815 GB, free: 14.86 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.77e-05/0.006948, allocations: 8.906 kB / 0.7815 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.006951, allocations: 0 / 0.7815 GB, free: 14.85 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.007134, allocations: 65.7 kB / 0.7815 GB, free: 14.79 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.007164, allocations: 15.98 kB / 0.7815 GB, free: 14.77 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 7.095e-05/0.007235, allocations: 128.1 kB / 0.7817 GB, free: 14.64 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.007246, allocations: 7.984 kB / 0.7817 GB, free: 14.63 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.007267, allocations: 16.38 kB / 0.7817 GB, free: 14.62 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007269, allocations: 0.625 kB / 0.7817 GB, free: 14.62 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.00727, allocations: 0.5312 kB / 0.7817 GB, free: 14.62 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.007275, allocations: 3.984 kB / 0.7817 GB, free: 14.62 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.772e-05/0.007342, allocations: 90.52 kB / 0.7818 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.007343, allocations: 0 / 0.7818 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-06/0.007349, allocations: 1.125 kB / 0.7818 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007351, allocations: 4 kB / 0.7818 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-06/0.007355, allocations: 0 / 0.7818 GB, free: 14.51 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.007356, allocations: 4.812 kB / 0.7818 GB, free: 14.5 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007357, allocations: 3.938 kB / 0.7818 GB, free: 14.5 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.608e-05/0.007433, allocations: 94.16 kB / 0.7819 GB, free: 14.39 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.007443, allocations: 15.88 kB / 0.7819 GB, free: 14.38 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.007454, allocations: 7.984 kB / 0.7819 GB, free: 14.37 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.262e-05/0.007466, allocations: 4.906 kB / 0.7819 GB, free: 14.36 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.007489, allocations: 7.922 kB / 0.7819 GB, free: 14.36 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.007494, allocations: 8.719 kB / 0.7819 GB, free: 14.35 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 1.754e-05/0.007512, allocations: 23.36 kB / 0.782 GB, free: 14.32 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.007512, allocations: 0.6875 kB / 0.782 GB, free: 14.32 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001336/0.007645, allocations: 47.95 kB / 0.782 GB, free: 14.28 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8.785e-05/0.007733, allocations: 89.22 kB / 0.7821 GB, free: 14.18 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.00797, allocations: 386.6 kB / 0.7825 GB, free: 13.75 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.007972, allocations: 0 / 0.7825 GB, free: 13.75 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 2.883e-05/0.008001, allocations: 32.77 kB / 0.7825 GB, free: 13.71 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.008119, allocations: 30.27 kB / 0.7825 GB, free: 13.68 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/0.008342, allocations: 178.6 kB / 0.7827 GB, free: 13.48 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.081e-05/0.008372, allocations: 63.34 kB / 0.7827 GB, free: 13.4 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.008395, allocations: 8.5 kB / 0.7828 GB, free: 13.39 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.008511, allocations: 96.92 kB / 0.7828 GB, free: 13.29 MB / 0.7449 GB Notification: Performance of SimCode: time 3.6e-07/0.008511, allocations: 0 / 0.7828 GB, free: 13.29 MB / 0.7449 GB Notification: Performance of Templates: time 0.004234/0.01275, allocations: 3.163 MB / 0.7859 GB, free: 10.31 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.076943685300648]