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.Xor.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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.298/1.298, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009842/0.0009842, allocations: 192.8 kB / 327.6 MB, free: 2.152 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.679/1.679, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0008473/0.0008472, allocations: 92.36 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003851, allocations: 15.75 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2011, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.3605, allocations: 131.5 MB / 1.03 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.3609, allocations: 75.94 kB / 1.03 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002381/0.3633, allocations: 0.9044 MB / 1.031 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3633, allocations: 0 / 1.031 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.3633, allocations: 4 kB / 1.031 GB, free: 11.06 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004411/0.3638, allocations: 367.3 kB / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3638, allocations: 12.03 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.3639, allocations: 4.938 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.364, allocations: 168.3 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.364, allocations: 12.36 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.364, allocations: 384 / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.3641, allocations: 54.23 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3642, allocations: 192 / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.3642, allocations: 7.875 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3642, allocations: 0 / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.022e-05/0.3643, allocations: 27.98 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.3647, allocations: 280.9 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.404e-05/0.3648, allocations: 50.5 kB / 1.032 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.239e-05/0.3648, allocations: 16.98 kB / 1.032 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.3648, allocations: 3.938 kB / 1.032 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.365, allocations: 75.38 kB / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.365, allocations: 0 / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000213/0.3652, allocations: 89.66 kB / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.3653, allocations: 55.34 kB / 1.032 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.3654, allocations: 122.3 kB / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3654, allocations: 29.7 kB / 1.032 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.3654, allocations: 88.05 kB / 1.032 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.3655, allocations: 15.91 kB / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.3655, allocations: 0 / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.3656, allocations: 318.8 kB / 1.032 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.3656, allocations: 12 kB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.347e-05/0.3657, allocations: 34.56 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.605e-05/0.3657, allocations: 58.52 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3657, allocations: 0 / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001142/0.3659, allocations: 81.52 kB / 1.032 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3659, allocations: 4 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.3659, allocations: 4 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3659, allocations: 0 / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.366, allocations: 11.92 kB / 1.032 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.366, allocations: 4 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.3661, allocations: 24.05 kB / 1.033 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.3661, allocations: 4 kB / 1.033 GB, free: 8.828 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,xor1.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): 9 * 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 8.092e-05/0.3662, allocations: 128.1 kB / 1.033 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.3662, allocations: 3.906 kB / 1.033 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.3662, allocations: 12.38 kB / 1.033 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3662, allocations: 0 / 1.033 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3663, allocations: 0 / 1.033 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.3663, allocations: 0 / 1.033 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.3664, allocations: 177.6 kB / 1.033 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3664, allocations: 4 kB / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-06/0.3664, allocations: 0 / 1.033 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3664, allocations: 3.984 kB / 1.033 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3665, allocations: 8 kB / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3665, allocations: 0 / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3665, allocations: 0 / 1.033 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.3666, allocations: 97.05 kB / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/0.3666, allocations: 85.02 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.3667, allocations: 11.92 kB / 1.033 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.3668, allocations: 11.98 kB / 1.033 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.3668, allocations: 16.17 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3668, allocations: 0 / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.295e-05/0.3669, allocations: 95.2 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3669, allocations: 0 / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001832/0.3671, allocations: 16 kB / 1.033 GB, free: 8.078 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,xor1.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.0001149/0.3672, allocations: 99.25 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.3673, allocations: 47.92 kB / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3673, allocations: 0 / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.937e-05/0.3674, allocations: 23.98 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.3676, allocations: 23.86 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.3679, allocations: 166.7 kB / 1.034 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.3682, allocations: 0.6839 MB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.3682, allocations: 11.84 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.3682, allocations: 15.38 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.3682, allocations: 0 / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of Templates: time 0.002683/0.3709, allocations: 0.7735 MB / 1.035 GB, free: 6.188 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)