Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.548/2.548, allocations: 287.5 MB / 303.2 MB, free: 8.254 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.001445/0.001445, allocations: 178.1 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.233/2.233, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000901/0.0009009, allocations: 92.92 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006266, allocations: 12.41 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2378, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9486/1.186, allocations: 138.2 MB / 1.114 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/1.187, allocations: 73.23 kB / 1.114 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01446/1.201, allocations: 2.113 MB / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.927e-06/1.201, allocations: 0 / 1.116 GB, free: 31.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.354e-05/1.202, allocations: 0 / 1.116 GB, free: 31.41 MB / 0.698 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.0009284/1.202, allocations: 404.9 kB / 1.117 GB, free: 31.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.902e-05/1.203, allocations: 7.656 kB / 1.117 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.928e-05/1.203, allocations: 18.73 kB / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/1.203, allocations: 172.1 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/1.203, allocations: 4.188 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/1.203, allocations: 11.72 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/1.203, allocations: 73.05 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/1.203, allocations: 192 / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/1.204, allocations: 3.938 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/1.204, allocations: 7.875 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004145/1.204, allocations: 59.77 kB / 1.117 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/1.205, allocations: 318.5 kB / 1.117 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/1.205, allocations: 74.52 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/1.205, allocations: 38.23 kB / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/1.205, allocations: 0 / 1.118 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000419/1.206, allocations: 91.11 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 3.446e-06/1.206, allocations: 0 / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0009774/1.207, allocations: 167.2 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/1.207, allocations: 51.41 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/1.207, allocations: 125.5 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.578e-05/1.207, allocations: 25.7 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/1.207, allocations: 94.11 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/1.207, allocations: 11.47 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/1.208, allocations: 10.52 kB / 1.118 GB, free: 30.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.208, allocations: 314.5 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/1.208, allocations: 64.72 kB / 1.118 GB, free: 29.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/1.208, allocations: 86.3 kB / 1.119 GB, free: 29.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/1.209, allocations: 158.7 kB / 1.119 GB, free: 29.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/1.209, allocations: 4 kB / 1.119 GB, free: 29.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00103/1.21, allocations: 217.5 kB / 1.119 GB, free: 29.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/1.21, allocations: 36.17 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.21, allocations: 7.031 kB / 1.119 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/1.21, allocations: 4.125 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/1.211, allocations: 14.12 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.211, allocations: 3.938 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/1.211, allocations: 57.81 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/1.211, allocations: 3.906 kB / 1.119 GB, free: 29.5 MB / 0.698 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 0.0002133/1.212, allocations: 125.3 kB / 1.119 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/1.212, allocations: 14.77 kB / 1.119 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.903e-05/1.212, allocations: 11 kB / 1.119 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/1.212, allocations: 3.875 kB / 1.119 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/1.212, allocations: 0 / 1.119 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.212, allocations: 0 / 1.119 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009867/1.213, allocations: 387 kB / 1.12 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.213, allocations: 4.812 kB / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/1.213, allocations: 10.75 kB / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.213, allocations: 4 kB / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/1.213, allocations: 3.875 kB / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.213, allocations: 0 / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.213, allocations: 0 / 1.12 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006835/1.214, allocations: 225.3 kB / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.424e-05/1.214, allocations: 92.81 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/1.214, allocations: 2.859 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/1.214, allocations: 10.91 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/1.214, allocations: 3.094 kB / 1.12 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/1.214, allocations: 10.91 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001082/1.214, allocations: 93.86 kB / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.31e-07/1.214, allocations: 0 / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006512/1.215, allocations: 31.09 kB / 1.12 GB, free: 28.72 MB / 0.698 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.0002644/1.215, allocations: 112.7 kB / 1.12 GB, free: 28.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008494/1.216, allocations: 188.6 kB / 1.12 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.216, allocations: 0 / 1.12 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/1.217, allocations: 46.5 kB / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/1.217, allocations: 18.81 kB / 1.12 GB, free: 28.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/1.218, allocations: 167.1 kB / 1.121 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/1.218, allocations: 0.6888 MB / 1.121 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.029e-05/1.218, allocations: 4.812 kB / 1.121 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/1.218, allocations: 15.91 kB / 1.121 GB, free: 27.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.218, allocations: 1.188 kB / 1.121 GB, free: 27.71 MB / 0.698 GB Notification: Performance of Templates: time 0.006684/1.225, allocations: 1.289 MB / 1.122 GB, free: 27.6 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)