Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.3 MB / 308.1 MB, free: 4.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 198.2 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 95.22 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 51.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3446, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002718/0.3474, allocations: 0.7413 MB / 0.983 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.3494, allocations: 1.211 MB / 0.9841 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.3495, allocations: 0 / 0.9841 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.299e-05/0.3495, allocations: 3.938 kB / 0.9841 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.2e-05/0.3496, allocations: 7.922 kB / 0.9841 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007793/0.3504, allocations: 199.7 kB / 0.9843 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002423/0.3507, allocations: 167.6 kB / 0.9845 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3508, allocations: 8 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.351, allocations: 55.95 kB / 0.9846 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3511, allocations: 55.8 kB / 0.9846 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/0.3512, allocations: 12 kB / 0.9846 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3513, allocations: 19.98 kB / 0.9846 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.65e-05/0.3513, allocations: 11.98 kB / 0.9847 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.3514, allocations: 47.83 kB / 0.9847 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.3517, allocations: 143.9 kB / 0.9848 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.3517, allocations: 0 / 0.9848 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.417e-06/0.3517, allocations: 0 / 0.9848 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3517, allocations: 3.938 kB / 0.9848 GB, free: 7.68 MB / 0.7136 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.0007674/0.3525, allocations: 438.7 kB / 0.9853 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.3526, allocations: 8.031 kB / 0.9853 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.3527, allocations: 12.94 kB / 0.9853 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3529, allocations: 164.3 kB / 0.9854 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.3529, allocations: 12.38 kB / 0.9854 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.3529, allocations: 16.3 kB / 0.9855 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3531, allocations: 42.25 kB / 0.9855 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3531, allocations: 192 / 0.9855 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.3531, allocations: 11.94 kB / 0.9855 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3532, allocations: 0 / 0.9855 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.3532, allocations: 23.86 kB / 0.9855 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.3539, allocations: 360.7 kB / 0.9859 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.354, allocations: 34.5 kB / 0.9859 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.3541, allocations: 16.86 kB / 0.9859 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3541, allocations: 0 / 0.9859 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.3544, allocations: 91.3 kB / 0.986 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.3544, allocations: 0 / 0.986 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003205/0.3547, allocations: 101.9 kB / 0.9861 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.3548, allocations: 55.39 kB / 0.9862 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.3549, allocations: 121.8 kB / 0.9863 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.355, allocations: 29.7 kB / 0.9863 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.355, allocations: 92.12 kB / 0.9864 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.3551, allocations: 15.81 kB / 0.9864 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3552, allocations: 49.62 kB / 0.9865 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3553, allocations: 326.8 kB / 0.9868 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3555, allocations: 55.95 kB / 0.9868 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.3556, allocations: 92.27 kB / 0.9869 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.3558, allocations: 159.6 kB / 0.9871 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3558, allocations: 4 kB / 0.9871 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004546/0.3563, allocations: 265.3 kB / 0.9873 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.697e-05/0.3564, allocations: 71.33 kB / 0.9874 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3564, allocations: 4 kB / 0.9874 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3564, allocations: 3.984 kB / 0.9874 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.258e-05/0.3565, allocations: 4 kB / 0.9874 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3565, allocations: 12.12 kB / 0.9874 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.3569, allocations: 55.92 kB / 0.9875 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.357, allocations: 8 kB / 0.9875 GB, free: 4.672 MB / 0.7136 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,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.3571, allocations: 133.7 kB / 0.9876 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.3571, allocations: 11.84 kB / 0.9876 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.3572, allocations: 16.38 kB / 0.9876 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3572, allocations: 0 / 0.9876 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3572, allocations: 0 / 0.9876 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3572, allocations: 0 / 0.9876 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.3574, allocations: 181.6 kB / 0.9878 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3574, allocations: 0 / 0.9878 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.778e-06/0.3574, allocations: 0 / 0.9878 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3574, allocations: 4 kB / 0.9878 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3574, allocations: 4 kB / 0.9878 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3574, allocations: 0 / 0.9878 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.3575, allocations: 3.938 kB / 0.9878 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.358, allocations: 0.6824 MB / 0.9885 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.3581, allocations: 81.02 kB / 0.9886 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.3581, allocations: 4 kB / 0.9886 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.3581, allocations: 3.938 kB / 0.9886 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3582, allocations: 7.984 kB / 0.9886 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3582, allocations: 8 kB / 0.9886 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.652e-05/0.3583, allocations: 95.27 kB / 0.9887 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3583, allocations: 0 / 0.9887 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000367/0.3586, allocations: 24 kB / 0.9887 GB, free: 3.281 MB / 0.7136 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,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 (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.0002206/0.3589, allocations: 103.5 kB / 0.9888 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003589/0.3592, allocations: 242.7 kB / 0.989 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3593, allocations: 0 / 0.989 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.108e-05/0.3593, allocations: 40.09 kB / 0.9891 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3596, allocations: 19.98 kB / 0.9891 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.3601, allocations: 279.3 kB / 0.9894 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.3605, allocations: 0.6926 MB / 0.99 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.3605, allocations: 4 kB / 0.99 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.3606, allocations: 11.44 kB / 0.99 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.3606, allocations: 0 / 0.99 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of Templates: time 0.005133/0.3657, allocations: 1.835 MB / 0.9918 GB, free: 15.99 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)