Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/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_master_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.787/4.787, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002399/0.002399, allocations: 359.2 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.394/4.394, allocations: 410.7 MB / 1.112 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 174.6 kB / 1.225 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005017, allocations: 16 kB / 1.348 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.5851, allocations: 115.3 MB / 1.461 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0008434/0.586, allocations: 479.2 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.5873, allocations: 1.104 MB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.5874, allocations: 1.469 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.5874, allocations: 3.938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.899e-05/0.5875, allocations: 3.938 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.588, allocations: 125.3 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.5881, allocations: 93.5 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.5882, allocations: 15.98 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.5883, allocations: 39.89 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.5884, allocations: 33.14 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.5884, allocations: 4 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.5885, allocations: 23.92 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.5885, allocations: 10.31 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.396e-05/0.5886, allocations: 37.64 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.5887, allocations: 71.81 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.416e-06/0.5887, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.471e-06/0.5887, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.292e-06/0.5887, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 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.0004742/0.5892, allocations: 398.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.5893, allocations: 11.62 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.5893, allocations: 7.906 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.877e-05/0.5894, allocations: 174.9 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.5895, allocations: 7.984 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.5895, allocations: 12 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.5897, allocations: 67 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.5898, allocations: 0.6875 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.5898, allocations: 3.984 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.354e-06/0.5898, allocations: 8.719 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.59, allocations: 50.34 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/0.5905, allocations: 334 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.5907, allocations: 68.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.5909, allocations: 38.39 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.5909, allocations: 1.156 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.5912, allocations: 96.77 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 3.29e-06/0.5912, allocations: 0.5938 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0005117/0.5917, allocations: 161.7 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.5917, allocations: 55.34 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.5918, allocations: 125 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.5919, allocations: 33.7 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.5919, allocations: 96.03 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.592, allocations: 15.75 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.592, allocations: 4.812 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.5921, allocations: 322.8 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.5923, allocations: 54.69 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.5925, allocations: 96.75 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.5927, allocations: 84.14 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.051e-06/0.5927, allocations: 4.625 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000536/0.5933, allocations: 222.1 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.5933, allocations: 37.69 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.561e-06/0.5933, allocations: 4.531 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.5934, allocations: 0.625 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5935, allocations: 13.97 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.164e-06/0.5935, allocations: 7.922 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.5938, allocations: 54.17 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.5938, allocations: 11.98 kB / 1.465 GB, free: 279.6 MB / 0.8542 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.0001012/0.5939, allocations: 115.8 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.594, allocations: 7.906 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.594, allocations: 12.38 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.594, allocations: 1.062 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.776e-06/0.594, allocations: 3.938 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.037e-06/0.5941, allocations: 3.984 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.5946, allocations: 393.3 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-06/0.5946, allocations: 0.625 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.5947, allocations: 13.77 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.352e-06/0.5947, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.5947, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.002e-06/0.5947, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.883e-06/0.5948, allocations: 8.922 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.5951, allocations: 214.2 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.5951, allocations: 89.02 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.5952, allocations: 4.828 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.5953, allocations: 8.844 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.5954, allocations: 5.391 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.5954, allocations: 7.953 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.509e-05/0.5954, allocations: 96.58 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.04e-07/0.5955, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003705/0.5958, allocations: 23.53 kB / 1.466 GB, free: 278.5 MB / 0.8542 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.0001487/0.596, allocations: 107.2 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.5965, allocations: 188.4 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.171e-06/0.5965, allocations: 4.906 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.5966, allocations: 41.39 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.597, allocations: 12.58 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.5974, allocations: 190 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.5975, allocations: 0.6899 MB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.401e-05/0.5976, allocations: 6.297 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.5977, allocations: 11.97 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.543e-06/0.5977, allocations: 0 / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.00444/0.6021, allocations: 1.281 MB / 1.469 GB, free: 276 MB / 0.8542 GB