Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001562/0.001568, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001748/0.001748, allocations: 193.8 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.03/3.03, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 66.72 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3916, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002422/0.3941, allocations: 0.8086 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3958, allocations: 1.166 MB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.3958, allocations: 4 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.3959, allocations: 7.938 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.975e-05/0.396, allocations: 3.938 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.3965, allocations: 115 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.3967, allocations: 107.8 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3968, allocations: 15.98 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.3969, allocations: 43.84 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.807e-05/0.397, allocations: 47.81 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.3971, allocations: 4 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.3971, allocations: 19.98 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.3972, allocations: 11.98 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.3973, allocations: 31.86 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.3975, allocations: 111.7 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3975, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3975, allocations: 0 / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.3975, allocations: 4 kB / 1.07 GB, free: 8.367 MB / 0.8262 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.0008504/0.3984, allocations: 413.2 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.3984, allocations: 11.97 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.3985, allocations: 8.844 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.3987, allocations: 168.4 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3987, allocations: 8.375 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.3988, allocations: 12.31 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.399, allocations: 58.23 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.399, allocations: 192 / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.399, allocations: 7.922 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/0.3991, allocations: 8 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.3993, allocations: 35.97 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.4, allocations: 340.6 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.4002, allocations: 62.55 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.4003, allocations: 36.95 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.4003, allocations: 3.938 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.4006, allocations: 83.36 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.472e-06/0.4006, allocations: 8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005001/0.4011, allocations: 137.5 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.4012, allocations: 51.41 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4013, allocations: 117.8 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.4013, allocations: 37.69 kB / 1.071 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.4014, allocations: 92.2 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.4014, allocations: 11.81 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.4015, allocations: 45.69 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.4017, allocations: 318.8 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.4019, allocations: 51.95 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.4021, allocations: 88.25 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.4024, allocations: 145.8 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4024, allocations: 0 / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004665/0.4029, allocations: 211.2 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.4029, allocations: 33.7 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4029, allocations: 0 / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4029, allocations: 4 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.403, allocations: 15.92 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4031, allocations: 320 / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.4033, allocations: 43.92 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.4033, allocations: 15.98 kB / 1.073 GB, free: 5.453 MB / 0.8262 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.4034, allocations: 121.8 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.4035, allocations: 7.906 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.4035, allocations: 12.44 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4035, allocations: 4 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.4035, allocations: 3.938 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4035, allocations: 3.938 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.404, allocations: 382.4 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.404, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.4041, allocations: 15.98 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4041, allocations: 0 / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.4041, allocations: 0 / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4041, allocations: 0 / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4041, allocations: 4 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.4045, allocations: 215.3 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.342e-05/0.4045, allocations: 81.02 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.4046, allocations: 11.98 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.4047, allocations: 4 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.4047, allocations: 7.984 kB / 1.073 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.4047, allocations: 3.938 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.352e-05/0.4048, allocations: 99.75 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4048, allocations: 0 / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002592/0.4051, allocations: 24 kB / 1.073 GB, free: 4.371 MB / 0.8262 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 (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.0001704/0.4052, allocations: 103.2 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004148/0.4057, allocations: 175.3 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4057, allocations: 4.25 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.4058, allocations: 43.91 kB / 1.074 GB, free: 4.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.4061, allocations: 11.98 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004184/0.4065, allocations: 168.5 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.4068, allocations: 0.6926 MB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.4069, allocations: 7.781 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.4069, allocations: 11.44 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.4069, allocations: 0 / 1.075 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of Templates: time 0.00444/0.4114, allocations: 1.336 MB / 1.076 GB, free: 1.773 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)