Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 289.7 MB / 302.2 MB, free: 2.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 177.5 kB / 371.6 MB, free: 3.379 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 91.97 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.678e-05/4.68e-05, allocations: 8 kB / 0.8663 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2916, allocations: 116.3 MB / 0.9798 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8339/1.125, allocations: 139.3 MB / 1.116 GB, free: 44.46 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.126, allocations: 69.52 kB / 1.116 GB, free: 44.44 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005526/1.131, allocations: 2.089 MB / 1.118 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/1.131, allocations: 0 / 1.118 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.231e-06/1.131, allocations: 0 / 1.118 GB, free: 43.18 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.0003923/1.132, allocations: 391.6 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.132, allocations: 8.031 kB / 1.118 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/1.132, allocations: 12.69 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/1.132, allocations: 174.9 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.132, allocations: 8.953 kB / 1.118 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/1.132, allocations: 11.27 kB / 1.119 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/1.132, allocations: 54.47 kB / 1.119 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/1.132, allocations: 0 / 1.119 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/1.132, allocations: 0.7031 kB / 1.119 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/1.132, allocations: 4 kB / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.407e-05/1.132, allocations: 15.75 kB / 1.119 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/1.133, allocations: 331.8 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.025e-05/1.133, allocations: 51.3 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/1.133, allocations: 23.48 kB / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/1.133, allocations: 0 / 1.119 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/1.133, allocations: 84.16 kB / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/1.133, allocations: 0 / 1.119 GB, free: 42.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001878/1.133, allocations: 91.39 kB / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/1.133, allocations: 55.41 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/1.133, allocations: 107.8 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/1.133, allocations: 27.64 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/1.133, allocations: 94.86 kB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/1.133, allocations: 23.11 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/1.133, allocations: 8 kB / 1.119 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.459e-05/1.134, allocations: 321.3 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/1.134, allocations: 36.56 kB / 1.12 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.835e-05/1.134, allocations: 72.77 kB / 1.12 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.802e-05/1.134, allocations: 76.08 kB / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.134, allocations: 0 / 1.12 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002505/1.134, allocations: 180.1 kB / 1.12 GB, free: 41.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/1.134, allocations: 29.7 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/1.134, allocations: 4.562 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/1.134, allocations: 0 / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/1.134, allocations: 22.17 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/1.134, allocations: 4.672 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/1.134, allocations: 46.11 kB / 1.12 GB, free: 40.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/1.134, allocations: 10.94 kB / 1.12 GB, free: 40.94 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 () * 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 6.601e-05/1.135, allocations: 122.4 kB / 1.12 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/1.135, allocations: 7.906 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/1.135, allocations: 11.5 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/1.135, allocations: 4 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.135, allocations: 0.875 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.135, allocations: 0 / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/1.135, allocations: 351.6 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.135, allocations: 5.531 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/1.135, allocations: 15.33 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/1.135, allocations: 0 / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/1.135, allocations: 5.344 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.135, allocations: 0 / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.135, allocations: 0 / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/1.135, allocations: 187.2 kB / 1.121 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/1.135, allocations: 88.48 kB / 1.121 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/1.135, allocations: 4 kB / 1.121 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/1.135, allocations: 15.14 kB / 1.121 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/1.135, allocations: 4.656 kB / 1.121 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/1.135, allocations: 3.328 kB / 1.121 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.343e-05/1.135, allocations: 91 kB / 1.121 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/1.135, allocations: 4 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000237/1.136, allocations: 24 kB / 1.121 GB, free: 40.03 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) * 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.0001651/1.136, allocations: 122.3 kB / 1.121 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002363/1.136, allocations: 153.4 kB / 1.121 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/1.136, allocations: 4.594 kB / 1.121 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.006e-05/1.136, allocations: 26.2 kB / 1.121 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/1.136, allocations: 11.5 kB / 1.121 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/1.137, allocations: 100 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/1.137, allocations: 0.6962 MB / 1.122 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.186e-05/1.137, allocations: 4 kB / 1.122 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/1.137, allocations: 14.88 kB / 1.122 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/1.137, allocations: 0 / 1.122 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.003371/1.14, allocations: 1.276 MB / 1.123 GB, free: 38.23 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)