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.001211/0.001211, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001594/0.001594, allocations: 194.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.864/1.864, allocations: 205.1 MB / 222 MB, free: 4.996 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.596/1.596, allocations: 251.7 MB / 0.5088 GB, free: 3.281 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.001777/0.001777, allocations: 71.91 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6899, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00353/0.6935, allocations: 1.526 MB / 0.7253 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005109/0.694, allocations: 220.2 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.6941, allocations: 0 / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.6942, allocations: 3.938 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.163e-05/0.6943, allocations: 15.91 kB / 0.7255 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.6944, allocations: 15.98 kB / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.001e-05/0.6945, allocations: 55.8 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.6947, allocations: 19.89 kB / 0.7256 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.6947, allocations: 23.91 kB / 0.7256 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.6948, allocations: 27.86 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.6948, allocations: 4 kB / 0.7257 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.686e-05/0.6948, allocations: 4 kB / 0.7257 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.6949, allocations: 15.86 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.6949, allocations: 27.86 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.695, allocations: 51.78 kB / 0.7258 GB, free: 11.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.695, allocations: 4 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.695, allocations: 4 kB / 0.7258 GB, free: 11.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.6951, allocations: 0 / 0.7258 GB, free: 11.12 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.0005986/0.6957, allocations: 377.3 kB / 0.7261 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.6957, allocations: 8.031 kB / 0.7261 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.6957, allocations: 4.938 kB / 0.7262 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.6959, allocations: 176.2 kB / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.6959, allocations: 4.375 kB / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.6959, allocations: 8.375 kB / 0.7263 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.6961, allocations: 66.23 kB / 0.7264 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.6962, allocations: 4.172 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.6962, allocations: 7.875 kB / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.6962, allocations: 0 / 0.7264 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.6964, allocations: 47.95 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.697, allocations: 304.7 kB / 0.7267 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.6975, allocations: 98.48 kB / 0.7268 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.923e-05/0.6976, allocations: 32.95 kB / 0.7269 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.6976, allocations: 4 kB / 0.7269 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.6979, allocations: 75.38 kB / 0.7269 GB, free: 9.762 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.6979, allocations: 0 / 0.7269 GB, free: 9.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004408/0.6983, allocations: 121.6 kB / 0.7271 GB, free: 9.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.6984, allocations: 63.34 kB / 0.7271 GB, free: 9.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.6985, allocations: 117.8 kB / 0.7272 GB, free: 9.438 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.6985, allocations: 25.7 kB / 0.7273 GB, free: 9.406 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.6986, allocations: 100.1 kB / 0.7274 GB, free: 9.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.6986, allocations: 20.19 kB / 0.7274 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.6987, allocations: 25.72 kB / 0.7274 GB, free: 9.254 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6988, allocations: 326.8 kB / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.6989, allocations: 31.97 kB / 0.7277 GB, free: 8.895 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.699, allocations: 51.36 kB / 0.7278 GB, free: 8.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.6992, allocations: 83.33 kB / 0.7279 GB, free: 8.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6993, allocations: 4 kB / 0.7279 GB, free: 8.734 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002485/0.6995, allocations: 117.4 kB / 0.728 GB, free: 8.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6995, allocations: 8 kB / 0.728 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6995, allocations: 0 / 0.728 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6996, allocations: 0 / 0.728 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.656e-05/0.6996, allocations: 12.08 kB / 0.728 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.6997, allocations: 8 kB / 0.728 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.539e-05/0.6998, allocations: 11.98 kB / 0.728 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.6998, allocations: 0 / 0.728 GB, free: 8.574 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,change.y,change.u,$PRE.change.u,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.6999, allocations: 121.8 kB / 0.7281 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.7, allocations: 3.906 kB / 0.7281 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.7, allocations: 20.3 kB / 0.7282 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.7, allocations: 0 / 0.7282 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7, allocations: 4 kB / 0.7282 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7, allocations: 3.984 kB / 0.7282 GB, free: 8.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.7005, allocations: 358.8 kB / 0.7285 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.7005, allocations: 4.062 kB / 0.7285 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.092e-05/0.7005, allocations: 7.984 kB / 0.7285 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7005, allocations: 0 / 0.7285 GB, free: 7.996 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.7006, allocations: 4 kB / 0.7285 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.7006, allocations: 7.938 kB / 0.7285 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7006, allocations: 4.016 kB / 0.7285 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.7009, allocations: 203.4 kB / 0.7287 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.7009, allocations: 77.11 kB / 0.7288 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.7009, allocations: 0 / 0.7288 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.7011, allocations: 15.98 kB / 0.7288 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.7011, allocations: 15.92 kB / 0.7288 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.7011, allocations: 0 / 0.7288 GB, free: 7.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.994e-05/0.7012, allocations: 99.39 kB / 0.7289 GB, free: 7.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7012, allocations: 3.938 kB / 0.7289 GB, free: 7.539 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002287/0.7014, allocations: 19.84 kB / 0.729 GB, free: 7.52 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001406/0.7016, allocations: 103.2 kB / 0.7291 GB, free: 7.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.7019, allocations: 71.94 kB / 0.7291 GB, free: 7.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7019, allocations: 4 kB / 0.7291 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.702, allocations: 35.92 kB / 0.7292 GB, free: 7.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.7023, allocations: 9.547 kB / 0.7292 GB, free: 7.293 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.7027, allocations: 168 kB / 0.7293 GB, free: 7.102 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.703, allocations: 0.6887 MB / 0.73 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.731e-05/0.703, allocations: 3.859 kB / 0.73 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.7031, allocations: 11.44 kB / 0.73 GB, free: 6.371 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.7031, allocations: 0 / 0.73 GB, free: 6.371 MB / 0.545 GB Notification: Performance of Templates: time 0.003058/0.7061, allocations: 0.7845 MB / 0.7308 GB, free: 5.598 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (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)