Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.605/1.605, allocations: 297.8 MB / 313.7 MB, free: 112 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009411/0.0009412, allocations: 183.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.2 MB / 0.6626 GB, free: 4.336 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008231/0.0008231, allocations: 93.22 kB / 0.7808 GB, free: 43.85 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003963, allocations: 16 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5558, allocations: 120.3 MB / 1.026 GB, free: 57.03 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/0.7297, allocations: 141.3 MB / 1.164 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.7299, allocations: 67.97 kB / 1.164 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0112/0.7411, allocations: 4.091 MB / 1.168 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7412, allocations: 0 / 1.168 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.7412, allocations: 0 / 1.168 GB, free: 12.8 MB / 0.7448 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.0004545/0.7416, allocations: 464.3 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.7417, allocations: 12.03 kB / 1.169 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.7417, allocations: 12.84 kB / 1.169 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.7419, allocations: 177.7 kB / 1.169 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.7419, allocations: 12.38 kB / 1.169 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.7419, allocations: 16.36 kB / 1.169 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.7421, allocations: 54.23 kB / 1.169 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.7421, allocations: 192 / 1.169 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.7421, allocations: 11.88 kB / 1.169 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.7421, allocations: 0 / 1.169 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.811e-05/0.7422, allocations: 19.98 kB / 1.169 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.7427, allocations: 417.3 kB / 1.17 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.179e-05/0.7428, allocations: 34.56 kB / 1.17 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.7429, allocations: 16.86 kB / 1.17 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.7429, allocations: 0 / 1.17 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.7431, allocations: 107.4 kB / 1.17 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 3.326e-06/0.7431, allocations: 4 kB / 1.17 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0003098/0.7434, allocations: 139.1 kB / 1.17 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.7435, allocations: 55.41 kB / 1.17 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.7436, allocations: 135.3 kB / 1.17 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.7436, allocations: 33.69 kB / 1.17 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.19e-05/0.7437, allocations: 96.67 kB / 1.17 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.7438, allocations: 19.72 kB / 1.17 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.7438, allocations: 4 kB / 1.17 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.7439, allocations: 326.8 kB / 1.17 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.7441, allocations: 91.94 kB / 1.171 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.7443, allocations: 137.9 kB / 1.171 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.7446, allocations: 235 kB / 1.171 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.7446, allocations: 0 / 1.171 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005452/0.7451, allocations: 367.7 kB / 1.171 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.7452, allocations: 101.1 kB / 1.171 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7452, allocations: 12.12 kB / 1.171 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.7452, allocations: 0 / 1.171 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.095e-05/0.7453, allocations: 4 kB / 1.171 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7453, allocations: 4 kB / 1.171 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004123/0.7457, allocations: 103.9 kB / 1.171 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/0.7457, allocations: 19.98 kB / 1.172 GB, free: 9.289 MB / 0.7448 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,logicalSwitch.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.7458, allocations: 146.9 kB / 1.172 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.7459, allocations: 7.906 kB / 1.172 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.7459, allocations: 8.375 kB / 1.172 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.7459, allocations: 4 kB / 1.172 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.7459, allocations: 0 / 1.172 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.7459, allocations: 0 / 1.172 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.7461, allocations: 197.5 kB / 1.172 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7461, allocations: 3.938 kB / 1.172 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.7461, allocations: 0 / 1.172 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7461, allocations: 4.375 kB / 1.172 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.7461, allocations: 8 kB / 1.172 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.7461, allocations: 3.984 kB / 1.172 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7461, allocations: 0 / 1.172 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.7463, allocations: 140.8 kB / 1.172 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.7463, allocations: 81.02 kB / 1.172 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.7464, allocations: 9.109 kB / 1.172 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.304e-05/0.7464, allocations: 4 kB / 1.172 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.7464, allocations: 11.98 kB / 1.172 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.7464, allocations: 4 kB / 1.172 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.405e-05/0.7465, allocations: 99.27 kB / 1.172 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7465, allocations: 0 / 1.172 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002572/0.7468, allocations: 48 kB / 1.172 GB, free: 8.434 MB / 0.7448 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 (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.0001586/0.7469, allocations: 113.1 kB / 1.172 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.7474, allocations: 370.2 kB / 1.173 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7474, allocations: 0 / 1.173 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.7474, allocations: 39.92 kB / 1.173 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.7477, allocations: 28.66 kB / 1.173 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.7481, allocations: 208.1 kB / 1.173 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.7483, allocations: 0.7004 MB / 1.174 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.72e-05/0.7484, allocations: 4.438 kB / 1.174 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.7484, allocations: 23.38 kB / 1.174 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.7484, allocations: 0 / 1.174 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of Templates: time 0.005453/0.7539, allocations: 2.433 MB / 1.176 GB, free: 4.473 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)