Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001352, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001684/0.001683, allocations: 198.1 kB / 16.14 MB, free: 6.695 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.53/1.53, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.973/2.973, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 62.72 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.42, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002292/0.4223, allocations: 0.7139 MB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.4242, allocations: 1.209 MB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.4242, allocations: 4 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.329e-05/0.4243, allocations: 3.938 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.483e-05/0.4244, allocations: 11.91 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.4251, allocations: 196.1 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.4253, allocations: 159.7 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.4255, allocations: 8 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.4256, allocations: 63.88 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.4257, allocations: 43.88 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.4257, allocations: 12 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.4258, allocations: 23.98 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.4259, allocations: 11.92 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.426, allocations: 51.83 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.4262, allocations: 143.6 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.4263, allocations: 7.938 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4263, allocations: 3.938 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.4263, allocations: 0 / 1.07 GB, free: 8.297 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006638/0.427, allocations: 435 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.427, allocations: 12.03 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.4271, allocations: 16.84 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.4273, allocations: 164.4 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.4273, allocations: 4.375 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.4273, allocations: 8.375 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.4275, allocations: 54.23 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4275, allocations: 192 / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4275, allocations: 3.938 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4275, allocations: 0 / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.4276, allocations: 19.92 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.4282, allocations: 360.7 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.4283, allocations: 42.5 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.4284, allocations: 16.86 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.4284, allocations: 4 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.4287, allocations: 79.41 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.4287, allocations: 7.938 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003032/0.429, allocations: 109.5 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.429, allocations: 51.41 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.4291, allocations: 113.8 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.4292, allocations: 33.7 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.4293, allocations: 96.03 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.4293, allocations: 7.906 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.981e-05/0.4294, allocations: 53.62 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.4296, allocations: 322.8 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.4297, allocations: 64.33 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.4299, allocations: 88.27 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.4302, allocations: 163.6 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4302, allocations: 0 / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004766/0.4306, allocations: 268.8 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.4307, allocations: 67.39 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4307, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.4308, allocations: 4 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.642e-05/0.4308, allocations: 4 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.4308, allocations: 8.125 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.4312, allocations: 63.83 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.4312, allocations: 8 kB / 1.073 GB, free: 5.293 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: 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.0001384/0.4314, allocations: 129.7 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.4314, allocations: 4 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.4314, allocations: 8.375 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4315, allocations: 4 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4315, allocations: 4 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4315, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.4316, allocations: 185.5 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4316, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-06/0.4317, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4317, allocations: 3.984 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.4317, allocations: 0 / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4317, allocations: 4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4317, allocations: 3.938 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.4318, allocations: 121.3 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.4319, allocations: 84.95 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.4319, allocations: 3.984 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.432, allocations: 0 / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.432, allocations: 12 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.432, allocations: 3.984 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.4321, allocations: 87.28 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4321, allocations: 0 / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002367/0.4323, allocations: 35.98 kB / 1.073 GB, free: 4.516 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 ($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.0002293/0.4326, allocations: 111.2 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003804/0.433, allocations: 242.7 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.433, allocations: 3.938 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.433, allocations: 27.98 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.4333, allocations: 21.48 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.4336, allocations: 160.5 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.434, allocations: 0.6848 MB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.434, allocations: 11.77 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.434, allocations: 15.44 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of SimCode: time 2.435e-06/0.434, allocations: 0 / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of Templates: time 0.005108/0.4392, allocations: 1.764 MB / 1.076 GB, free: 1.418 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)