Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.591/1.591, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 176.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007267/0.0007265, allocations: 95.34 kB / 0.7808 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003836, allocations: 12 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5459/0.5463, allocations: 120.3 MB / 1.026 GB, free: 57.11 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.7157, allocations: 141.3 MB / 1.164 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.7159, allocations: 64.86 kB / 1.164 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.007944/0.7239, allocations: 2.943 MB / 1.167 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7239, allocations: 0 / 1.167 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.7239, allocations: 0 / 1.167 GB, free: 13.96 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004652/0.7244, allocations: 414.8 kB / 1.168 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.7245, allocations: 12.03 kB / 1.168 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.7245, allocations: 12.84 kB / 1.168 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.7247, allocations: 172.2 kB / 1.168 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.7247, allocations: 4.375 kB / 1.168 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.7248, allocations: 12.38 kB / 1.168 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.7249, allocations: 54.23 kB / 1.168 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.7249, allocations: 192 / 1.168 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.7249, allocations: 3.938 kB / 1.168 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.7249, allocations: 0 / 1.168 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.196e-05/0.725, allocations: 15.94 kB / 1.168 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.7255, allocations: 352.8 kB / 1.168 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.384e-05/0.7255, allocations: 41.5 kB / 1.168 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.7256, allocations: 12.86 kB / 1.168 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.7256, allocations: 4 kB / 1.168 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.7258, allocations: 87.3 kB / 1.168 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.7258, allocations: 0 / 1.168 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002176/0.726, allocations: 97.66 kB / 1.169 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.726, allocations: 55.41 kB / 1.169 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.074e-05/0.7261, allocations: 129.6 kB / 1.169 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.7262, allocations: 33.7 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.7262, allocations: 88.12 kB / 1.169 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.7263, allocations: 15.81 kB / 1.169 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.7263, allocations: 0 / 1.169 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.7264, allocations: 326.8 kB / 1.169 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.7265, allocations: 59.97 kB / 1.169 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.7266, allocations: 92.25 kB / 1.169 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.7268, allocations: 155.6 kB / 1.169 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7268, allocations: 0 / 1.169 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003703/0.7272, allocations: 260.8 kB / 1.17 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.747e-05/0.7273, allocations: 71.39 kB / 1.17 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7273, allocations: 0 / 1.17 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.7273, allocations: 4 kB / 1.17 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.871e-05/0.7273, allocations: 3.938 kB / 1.17 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7273, allocations: 4 kB / 1.17 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.7276, allocations: 72.06 kB / 1.17 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.7277, allocations: 11.98 kB / 1.17 GB, free: 11.04 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.255e-05/0.7278, allocations: 126.3 kB / 1.17 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.7278, allocations: 15.83 kB / 1.17 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.7278, allocations: 12.38 kB / 1.17 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7278, allocations: 0 / 1.17 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7278, allocations: 0 / 1.17 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7278, allocations: 480 / 1.17 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.728, allocations: 177.6 kB / 1.17 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.728, allocations: 0 / 1.17 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.997e-06/0.728, allocations: 3.984 kB / 1.17 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.728, allocations: 0 / 1.17 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.728, allocations: 15.88 kB / 1.17 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.728, allocations: 0 / 1.17 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.728, allocations: 4 kB / 1.17 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.7282, allocations: 105 kB / 1.17 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.7282, allocations: 81.02 kB / 1.17 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.7282, allocations: 4 kB / 1.17 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.7282, allocations: 4 kB / 1.17 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.7283, allocations: 3.984 kB / 1.17 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.7283, allocations: 4 kB / 1.17 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.7284, allocations: 95.27 kB / 1.17 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7284, allocations: 0 / 1.17 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002247/0.7286, allocations: 39.94 kB / 1.17 GB, free: 10.27 MB / 0.7448 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * 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.0001457/0.7287, allocations: 111.7 kB / 1.171 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.729, allocations: 255 kB / 1.171 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7291, allocations: 0 / 1.171 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.243e-05/0.7291, allocations: 23.98 kB / 1.171 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.7293, allocations: 20.23 kB / 1.171 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.7296, allocations: 169.6 kB / 1.171 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.7298, allocations: 0.6848 MB / 1.172 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.541e-05/0.7299, allocations: 11.98 kB / 1.172 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.7299, allocations: 11.44 kB / 1.172 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.7299, allocations: 0 / 1.172 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.003655/0.7336, allocations: 1.72 MB / 1.173 GB, free: 7.211 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)