Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.629/1.629, allocations: 251.9 MB / 0.51 GB, free: 4.801 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006756/0.0006759, allocations: 20 kB / 0.6241 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.6404, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001556/0.6419, allocations: 1.167 MB / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004255/0.6424, allocations: 220.2 kB / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.6425, allocations: 0 / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.6425, allocations: 0 / 0.7293 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.6426, allocations: 19.92 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.6427, allocations: 15.97 kB / 0.7294 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.185e-05/0.6428, allocations: 35.95 kB / 0.7294 GB, free: 9.949 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.6429, allocations: 4 kB / 0.7294 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.643, allocations: 19.92 kB / 0.7294 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.6431, allocations: 35.83 kB / 0.7295 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.6431, allocations: 0 / 0.7295 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.6431, allocations: 4 kB / 0.7295 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.6431, allocations: 0 / 0.7295 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.676e-05/0.6432, allocations: 41.64 kB / 0.7295 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.936e-05/0.6433, allocations: 39.91 kB / 0.7295 GB, free: 9.801 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.6433, allocations: 0 / 0.7295 GB, free: 9.801 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6433, allocations: 4 kB / 0.7295 GB, free: 9.797 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.6433, allocations: 0 / 0.7295 GB, free: 9.797 MB / 0.545 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.0006282/0.6439, allocations: 381 kB / 0.7299 GB, free: 9.379 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.644, allocations: 11.97 kB / 0.7299 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.644, allocations: 7.906 kB / 0.7299 GB, free: 9.359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.6442, allocations: 171 kB / 0.7301 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.6442, allocations: 8 kB / 0.7301 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.6443, allocations: 0 / 0.7301 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.6445, allocations: 77.58 kB / 0.7302 GB, free: 9.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6445, allocations: 4 kB / 0.7302 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.6445, allocations: 0 / 0.7302 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6445, allocations: 4 kB / 0.7302 GB, free: 9.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.6447, allocations: 55.94 kB / 0.7302 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004975/0.6452, allocations: 308.7 kB / 0.7305 GB, free: 8.648 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004166/0.6457, allocations: 122.5 kB / 0.7306 GB, free: 8.52 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.6457, allocations: 3.984 kB / 0.7306 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.6459, allocations: 87.5 kB / 0.7307 GB, free: 8.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.6459, allocations: 0 / 0.7307 GB, free: 8.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004428/0.6464, allocations: 149.5 kB / 0.7309 GB, free: 8.266 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.6464, allocations: 55.41 kB / 0.7309 GB, free: 8.199 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.6465, allocations: 122 kB / 0.731 GB, free: 8.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.6466, allocations: 25.7 kB / 0.7311 GB, free: 8.035 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.6466, allocations: 92.12 kB / 0.7312 GB, free: 7.941 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.6466, allocations: 15.75 kB / 0.7312 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-06/0.6466, allocations: 4 kB / 0.7312 GB, free: 7.922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6468, allocations: 318.8 kB / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.6469, allocations: 31.97 kB / 0.7315 GB, free: 7.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.647, allocations: 63.78 kB / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.6471, allocations: 35.92 kB / 0.7316 GB, free: 7.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6471, allocations: 192 / 0.7316 GB, free: 7.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000266/0.6474, allocations: 125.5 kB / 0.7317 GB, free: 7.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.6474, allocations: 10.12 kB / 0.7317 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6474, allocations: 4.312 kB / 0.7317 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.6474, allocations: 0 / 0.7317 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.336e-05/0.6475, allocations: 15.98 kB / 0.7318 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6475, allocations: 0 / 0.7318 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.6476, allocations: 31.97 kB / 0.7318 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.6476, allocations: 11.92 kB / 0.7318 GB, free: 7.262 MB / 0.545 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 9.363e-05/0.6477, allocations: 116.9 kB / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.6478, allocations: 7.906 kB / 0.7319 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.6478, allocations: 8.375 kB / 0.7319 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.6478, allocations: 4 kB / 0.7319 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6478, allocations: 7.984 kB / 0.7319 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.6478, allocations: 0 / 0.7319 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.6483, allocations: 374.4 kB / 0.7323 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6483, allocations: 0 / 0.7323 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.6483, allocations: 15.98 kB / 0.7323 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6484, allocations: 0 / 0.7323 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.6484, allocations: 0 / 0.7323 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.6484, allocations: 0 / 0.7323 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6484, allocations: 3.953 kB / 0.7323 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.6487, allocations: 211.4 kB / 0.7325 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.6487, allocations: 81.02 kB / 0.7326 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.6487, allocations: 0 / 0.7326 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.6488, allocations: 15.98 kB / 0.7326 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.6489, allocations: 19.88 kB / 0.7326 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.6489, allocations: 4.062 kB / 0.7326 GB, free: 6.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.649, allocations: 95.27 kB / 0.7327 GB, free: 6.219 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.649, allocations: 4 kB / 0.7327 GB, free: 6.215 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002235/0.6492, allocations: 11.94 kB / 0.7327 GB, free: 6.203 MB / 0.545 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.0001352/0.6493, allocations: 103.2 kB / 0.7328 GB, free: 6.094 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.6496, allocations: 91.86 kB / 0.7329 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6496, allocations: 0 / 0.7329 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.6497, allocations: 31.98 kB / 0.7329 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.65, allocations: 20.14 kB / 0.733 GB, free: 5.953 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.6503, allocations: 182.7 kB / 0.7331 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.6506, allocations: 0.6926 MB / 0.7338 GB, free: 5.027 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.6506, allocations: 7.859 kB / 0.7338 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.6507, allocations: 11.44 kB / 0.7338 GB, free: 5.008 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6507, allocations: 0 / 0.7338 GB, free: 5.008 MB / 0.545 GB Notification: Performance of Templates: time 0.002695/0.6534, allocations: 0.7316 MB / 0.7346 GB, free: 4.281 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) Environment - environmentSimulation: