Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.209/2.209, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 178 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.454/2.454, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009814/0.0009809, allocations: 89.92 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004851, allocations: 15.89 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2102, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2291/0.4394, allocations: 131.6 MB / 1.028 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.4398, allocations: 79.95 kB / 1.028 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003929/0.4437, allocations: 0.9594 MB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4438, allocations: 0 / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.4438, allocations: 0 / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006735/0.4445, allocations: 383.3 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4445, allocations: 8.031 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.4446, allocations: 8.844 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.4448, allocations: 172.3 kB / 1.03 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4448, allocations: 4.312 kB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.4448, allocations: 8.375 kB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.4451, allocations: 78.2 kB / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4452, allocations: 4.125 kB / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.4452, allocations: 3.938 kB / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4452, allocations: 0 / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.4455, allocations: 55.95 kB / 1.03 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006662/0.4462, allocations: 304.8 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.4469, allocations: 122.5 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.4471, allocations: 36.97 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.4472, allocations: 0 / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003473/0.4475, allocations: 91.27 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.4475, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006783/0.4482, allocations: 145.6 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.4483, allocations: 59.39 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4484, allocations: 121.8 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.4485, allocations: 33.7 kB / 1.031 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.407e-05/0.4486, allocations: 84.14 kB / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.4486, allocations: 19.8 kB / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/0.4486, allocations: 0 / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4488, allocations: 318.8 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.449, allocations: 31.97 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.4492, allocations: 63.41 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.4494, allocations: 35.98 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4495, allocations: 4 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004609/0.4499, allocations: 125.4 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.45, allocations: 5.25 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.45, allocations: 96 / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.45, allocations: 8 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4502, allocations: 11.98 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4502, allocations: 4 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.4503, allocations: 19.98 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.4504, allocations: 4 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$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 (10): * Single equations (assignments): 10 * 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 0.0001311/0.4505, allocations: 131.7 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.4505, allocations: 0 / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.4506, allocations: 16.31 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4506, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4506, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4506, allocations: 4.047 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.4514, allocations: 386.9 kB / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4514, allocations: 0 / 1.032 GB, free: 9.523 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4515, allocations: 11.98 kB / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4515, allocations: 0 / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.4516, allocations: 4 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4516, allocations: 0 / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.4516, allocations: 7.875 kB / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.4521, allocations: 203.5 kB / 1.032 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.4521, allocations: 81.02 kB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.4522, allocations: 4 kB / 1.032 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.4524, allocations: 15.98 kB / 1.032 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.4525, allocations: 19.91 kB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.4525, allocations: 4 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.816e-05/0.4526, allocations: 95.2 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4526, allocations: 0 / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003563/0.4529, allocations: 12 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.0001537/0.4531, allocations: 103.2 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000438/0.4536, allocations: 83.88 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4536, allocations: 0 / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.4538, allocations: 36.17 kB / 1.033 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.4542, allocations: 15.98 kB / 1.033 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.4547, allocations: 170.5 kB / 1.033 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.4551, allocations: 0.6965 MB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.914e-05/0.4552, allocations: 7.859 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.4552, allocations: 7.438 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/0.4552, allocations: 0 / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of Templates: time 0.004193/0.4594, allocations: 0.7399 MB / 1.034 GB, free: 7.133 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)