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.001086/0.001086, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.009799/0.009799, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.663/1.663, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.984/2.984, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 10.16 kB / 0.9158 GB, free: 33.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4285, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001105/0.4297, allocations: 477 kB / 1.075 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.4313, allocations: 1.147 MB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.022e-05/0.4313, allocations: 7.938 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.4314, allocations: 3.984 kB / 1.076 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.514e-05/0.4314, allocations: 7.922 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005396/0.432, allocations: 118.8 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.4321, allocations: 103.8 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.4323, allocations: 35.89 kB / 1.076 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.4324, allocations: 39.91 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.545e-05/0.4325, allocations: 31.89 kB / 1.076 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.4325, allocations: 8 kB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.942e-05/0.4326, allocations: 15.98 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.4326, allocations: 11.92 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.429e-05/0.4327, allocations: 61.55 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.4328, allocations: 107.7 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4329, allocations: 0 / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4329, allocations: 0 / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.4329, allocations: 0 / 1.076 GB, free: 5.387 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.0005943/0.4335, allocations: 401.3 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4335, allocations: 8.031 kB / 1.077 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.4336, allocations: 8.844 kB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.4337, allocations: 172.2 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.4337, allocations: 8.359 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.4338, allocations: 8.375 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.434, allocations: 70.22 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.434, allocations: 192 / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.434, allocations: 7.938 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.434, allocations: 0 / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.4343, allocations: 59.89 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.4348, allocations: 328.7 kB / 1.077 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.435, allocations: 66.55 kB / 1.077 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.4351, allocations: 40.91 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.4351, allocations: 4 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.4354, allocations: 99.27 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.4354, allocations: 0 / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004926/0.4359, allocations: 157.7 kB / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.4359, allocations: 67.28 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.4361, allocations: 121.7 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.4361, allocations: 29.7 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.4362, allocations: 92.12 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.4362, allocations: 15.81 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.4362, allocations: 17.72 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4364, allocations: 318.8 kB / 1.078 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.4366, allocations: 63.95 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.4367, allocations: 95.88 kB / 1.078 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.437, allocations: 153.8 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.437, allocations: 4 kB / 1.079 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000455/0.4375, allocations: 223.1 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.4376, allocations: 33.7 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4376, allocations: 4.062 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4376, allocations: 8 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4377, allocations: 15.98 kB / 1.079 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4377, allocations: 4 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.438, allocations: 51.89 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.438, allocations: 4.312 kB / 1.079 GB, free: 2.402 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.0001381/0.4382, allocations: 135.2 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.4382, allocations: 7.906 kB / 1.079 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.4382, allocations: 8.375 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4383, allocations: 0 / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4383, allocations: 4 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4383, allocations: 0 / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.4388, allocations: 394.3 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4388, allocations: 4 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.267e-05/0.4389, allocations: 15.98 kB / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4389, allocations: 0 / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4389, allocations: 0 / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.4389, allocations: 0 / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4389, allocations: 0 / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003488/0.4393, allocations: 219.4 kB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.4393, allocations: 89 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.4394, allocations: 3.938 kB / 1.08 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.857e-05/0.4395, allocations: 7.984 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.891e-05/0.4395, allocations: 11.98 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4395, allocations: 7.938 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.468e-05/0.4396, allocations: 91.27 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4396, allocations: 4 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002791/0.4399, allocations: 20 kB / 1.08 GB, free: 1.301 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.0002212/0.4401, allocations: 103.2 kB / 1.08 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.4406, allocations: 199.2 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4406, allocations: 0 / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.4407, allocations: 39.97 kB / 1.08 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.4411, allocations: 19.86 kB / 1.08 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.4415, allocations: 179.5 kB / 1.08 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4418, allocations: 0.6887 MB / 1.081 GB, free: 0 / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.709e-05/0.4419, allocations: 4.359 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.4419, allocations: 11.44 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4419, allocations: 0 / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.004283/0.4462, allocations: 1.329 MB / 1.082 GB, free: 14.67 MB / 0.8419 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)