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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 186.2 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007876/0.0007873, allocations: 90.36 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 16.59 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2299, allocations: 106.3 MB / 0.9012 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1709/0.4009, allocations: 131.8 MB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.4012, allocations: 75.95 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002808/0.404, allocations: 0.967 MB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.539e-06/0.404, allocations: 0 / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.4041, allocations: 3.938 kB / 1.031 GB, free: 10.61 MB / 0.6823 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.0005108/0.4046, allocations: 371.3 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4046, allocations: 16.02 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.4047, allocations: 8.844 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.4048, allocations: 172.3 kB / 1.032 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.4049, allocations: 4.312 kB / 1.032 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.4049, allocations: 8.375 kB / 1.032 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.4051, allocations: 74.16 kB / 1.032 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4051, allocations: 4.188 kB / 1.032 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4051, allocations: 3.938 kB / 1.032 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.4051, allocations: 0 / 1.032 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.4053, allocations: 55.95 kB / 1.032 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005409/0.4059, allocations: 308.7 kB / 1.032 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.4063, allocations: 122.5 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.4064, allocations: 40.95 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.4065, allocations: 0 / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.4067, allocations: 83.36 kB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.4067, allocations: 4 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004661/0.4072, allocations: 149.5 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.4073, allocations: 55.41 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4074, allocations: 113.8 kB / 1.033 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.4074, allocations: 33.69 kB / 1.033 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.4075, allocations: 88.14 kB / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.4075, allocations: 15.81 kB / 1.033 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.4075, allocations: 0 / 1.033 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.4077, allocations: 322.8 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.4078, allocations: 31.98 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4079, allocations: 63.41 kB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.4081, allocations: 91.33 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4082, allocations: 0 / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002797/0.4084, allocations: 125.5 kB / 1.033 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.4085, allocations: 12.55 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4085, allocations: 0 / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4085, allocations: 4 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.4086, allocations: 8 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4086, allocations: 11.92 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.382e-05/0.4087, allocations: 24.02 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4088, allocations: 3.938 kB / 1.033 GB, free: 7.988 MB / 0.6823 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 0.0001049/0.4089, allocations: 131.9 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.4089, allocations: 3.906 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.4089, allocations: 12.38 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4089, allocations: 0 / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.4089, allocations: 4.062 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.409, allocations: 0 / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004986/0.4095, allocations: 378.5 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4095, allocations: 0 / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.4095, allocations: 15.92 kB / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4095, allocations: 4 kB / 1.034 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4096, allocations: 0 / 1.034 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.4096, allocations: 4 kB / 1.034 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.4096, allocations: 3.938 kB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.4099, allocations: 211.4 kB / 1.034 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.41, allocations: 81.02 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.41, allocations: 4 kB / 1.034 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.4101, allocations: 11.98 kB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.4102, allocations: 15.92 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.4102, allocations: 4 kB / 1.034 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.4102, allocations: 91.27 kB / 1.034 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4102, allocations: 4 kB / 1.034 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002182/0.4105, allocations: 8 kB / 1.034 GB, free: 6.918 MB / 0.6823 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.0001536/0.4106, allocations: 108.6 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.4109, allocations: 85.62 kB / 1.034 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4109, allocations: 3.938 kB / 1.034 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.411, allocations: 31.98 kB / 1.034 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.4113, allocations: 15.98 kB / 1.035 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.4118, allocations: 170.8 kB / 1.035 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.4121, allocations: 0.6887 MB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.4121, allocations: 8.141 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.4121, allocations: 11.44 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4121, allocations: 0 / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of Templates: time 0.002961/0.4151, allocations: 0.7544 MB / 1.036 GB, free: 5 MB / 0.6823 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)