Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.587/1.587, allocations: 297.8 MB / 313.7 MB, free: 116 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.000893/0.0008927, allocations: 184.3 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.321/1.321, allocations: 223.2 MB / 0.6626 GB, free: 4.367 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.0008118/0.0008118, allocations: 92.81 kB / 0.7808 GB, free: 43.57 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 13.03 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.5498, allocations: 120.3 MB / 1.026 GB, free: 56.39 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.7324, allocations: 141.6 MB / 1.165 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.7327, allocations: 71.97 kB / 1.165 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0058/0.7385, allocations: 2.103 MB / 1.167 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7385, allocations: 0 / 1.167 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.7386, allocations: 0 / 1.167 GB, free: 14.5 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.0004756/0.739, allocations: 409.1 kB / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.7391, allocations: 8.031 kB / 1.167 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.7391, allocations: 8.844 kB / 1.167 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.7393, allocations: 184.1 kB / 1.167 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.7393, allocations: 9.219 kB / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.7393, allocations: 8.375 kB / 1.167 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.7395, allocations: 70.22 kB / 1.167 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.7396, allocations: 192 / 1.167 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.7396, allocations: 7.875 kB / 1.167 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.7396, allocations: 4 kB / 1.167 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.7398, allocations: 55.89 kB / 1.167 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.7402, allocations: 324.8 kB / 1.168 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.7404, allocations: 66.55 kB / 1.168 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.7405, allocations: 44.95 kB / 1.168 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.7406, allocations: 0 / 1.168 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.7408, allocations: 95.36 kB / 1.168 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.7408, allocations: 4 kB / 1.168 GB, free: 13.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004238/0.7413, allocations: 149.5 kB / 1.168 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.7413, allocations: 59.41 kB / 1.168 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.214e-05/0.7414, allocations: 117.8 kB / 1.168 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.7414, allocations: 33.7 kB / 1.168 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.7415, allocations: 92.05 kB / 1.168 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.7415, allocations: 19.8 kB / 1.168 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.7415, allocations: 0 / 1.168 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7417, allocations: 322.8 kB / 1.169 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.7419, allocations: 63.89 kB / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.742, allocations: 93.94 kB / 1.169 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.7423, allocations: 153.8 kB / 1.169 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.7423, allocations: 0 / 1.169 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004189/0.7427, allocations: 219.2 kB / 1.169 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.7428, allocations: 37.7 kB / 1.169 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7428, allocations: 4.25 kB / 1.169 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.7428, allocations: 64 / 1.169 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.7429, allocations: 24.11 kB / 1.169 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7429, allocations: 0 / 1.169 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.7431, allocations: 47.89 kB / 1.169 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.7432, allocations: 11.98 kB / 1.169 GB, free: 11.54 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 9.936e-05/0.7433, allocations: 139.1 kB / 1.169 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.7433, allocations: 3.906 kB / 1.169 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.7433, allocations: 12.38 kB / 1.17 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.7433, allocations: 0 / 1.17 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7433, allocations: 0 / 1.17 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.7434, allocations: 0 / 1.17 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.7438, allocations: 386.5 kB / 1.17 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7438, allocations: 0 / 1.17 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.595e-05/0.7439, allocations: 15.92 kB / 1.17 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.7439, allocations: 0 / 1.17 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.7439, allocations: 0 / 1.17 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.7439, allocations: 8 kB / 1.17 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7439, allocations: 0 / 1.17 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.7442, allocations: 219.3 kB / 1.17 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.7443, allocations: 89.02 kB / 1.17 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.7443, allocations: 0 / 1.17 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.097e-05/0.7444, allocations: 11.98 kB / 1.17 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.7444, allocations: 11.98 kB / 1.17 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.7444, allocations: 3.938 kB / 1.17 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.855e-05/0.7445, allocations: 96.52 kB / 1.17 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7445, allocations: 0 / 1.17 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002497/0.7447, allocations: 32 kB / 1.17 GB, free: 10.43 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001606/0.7449, allocations: 121 kB / 1.17 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003638/0.7453, allocations: 183.3 kB / 1.171 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.7453, allocations: 256 / 1.171 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.7454, allocations: 47.97 kB / 1.171 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.7457, allocations: 7.984 kB / 1.171 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003554/0.746, allocations: 171.8 kB / 1.171 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.7463, allocations: 0.6887 MB / 1.172 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.879e-05/0.7464, allocations: 7.984 kB / 1.172 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.7464, allocations: 15.38 kB / 1.172 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of SimCode: time 2.3e-07/0.7464, allocations: 0 / 1.172 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.003637/0.75, allocations: 1.298 MB / 1.173 GB, free: 7.848 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)