Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.799/4.799, allocations: 0.5623 GB / 0.5769 GB, free: 66.92 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002663/0.002663, allocations: 359.6 kB / 0.644 GB, free: 21.58 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.294/4.294, allocations: 410.8 MB / 1.112 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002653/0.002653, allocations: 182.8 kB / 1.225 GB, free: 9.574 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005313/0.0005317, allocations: 16 kB / 1.348 GB, free: 84.68 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1764, allocations: 115.3 MB / 1.461 GB, free: 1.305 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.5797/0.7561, allocations: 386.7 kB / 1.461 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.758, allocations: 1.13 MB / 1.462 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.758, allocations: 3.125 kB / 1.462 GB, free: 11.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.7581, allocations: 3.938 kB / 1.462 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.908e-05/0.7581, allocations: 8.828 kB / 1.462 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/0.7589, allocations: 196.2 kB / 1.462 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.7591, allocations: 135.2 kB / 1.463 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.7592, allocations: 8.234 kB / 1.463 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.7593, allocations: 60.03 kB / 1.463 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.7594, allocations: 47.69 kB / 1.463 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.7595, allocations: 8.844 kB / 1.463 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.638e-05/0.7596, allocations: 22.33 kB / 1.463 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.7596, allocations: 13.05 kB / 1.463 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.417e-05/0.7597, allocations: 41.92 kB / 1.463 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.7599, allocations: 102.7 kB / 1.463 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.176e-06/0.7599, allocations: 0 / 1.463 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.191e-06/0.7599, allocations: 0 / 1.463 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.7599, allocations: 0 / 1.463 GB, free: 11.21 MB / 0.6042 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.0003844/0.7603, allocations: 408 kB / 1.463 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.7604, allocations: 13.44 kB / 1.463 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.7604, allocations: 11.53 kB / 1.463 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.699e-05/0.7605, allocations: 175.4 kB / 1.463 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.7606, allocations: 5.406 kB / 1.463 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.946e-05/0.7606, allocations: 13.06 kB / 1.463 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.7608, allocations: 46.53 kB / 1.463 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.479e-06/0.7608, allocations: 0 / 1.463 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.7608, allocations: 0.5625 kB / 1.463 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.7608, allocations: 1 kB / 1.463 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.925e-05/0.7609, allocations: 18.98 kB / 1.464 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.7614, allocations: 361.2 kB / 1.464 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.968e-05/0.7615, allocations: 36.48 kB / 1.464 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.7616, allocations: 15.83 kB / 1.464 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.7616, allocations: 1.031 kB / 1.464 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.7618, allocations: 83.03 kB / 1.464 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.582e-06/0.7618, allocations: 1.125 kB / 1.464 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002978/0.7621, allocations: 105.6 kB / 1.464 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.7622, allocations: 53.78 kB / 1.464 GB, free: 9.988 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.7623, allocations: 127.8 kB / 1.464 GB, free: 9.867 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.7623, allocations: 34.75 kB / 1.464 GB, free: 9.832 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.7624, allocations: 90.97 kB / 1.464 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.7624, allocations: 17.22 kB / 1.464 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.7625, allocations: 6.562 kB / 1.464 GB, free: 9.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.7625, allocations: 319.5 kB / 1.465 GB, free: 9.414 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.7627, allocations: 60.25 kB / 1.465 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.763, allocations: 96.77 kB / 1.465 GB, free: 9.328 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.7632, allocations: 112.7 kB / 1.465 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.7632, allocations: 4 kB / 1.465 GB, free: 9.238 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006032/0.7638, allocations: 257.5 kB / 1.465 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.7639, allocations: 67.62 kB / 1.465 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.581e-06/0.7639, allocations: 2.562 kB / 1.465 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.7639, allocations: 1.25 kB / 1.465 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.849e-05/0.764, allocations: 6.062 kB / 1.465 GB, free: 9.023 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.764, allocations: 6.75 kB / 1.465 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.7645, allocations: 81.33 kB / 1.465 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.7646, allocations: 12.09 kB / 1.465 GB, free: 9.008 MB / 0.6042 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,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): 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 0.0001081/0.7647, allocations: 126.3 kB / 1.466 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.7647, allocations: 6.734 kB / 1.466 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/0.7648, allocations: 11.34 kB / 1.466 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-06/0.7648, allocations: 1.375 kB / 1.466 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7648, allocations: 0 / 1.466 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.842e-06/0.7648, allocations: 1.391 kB / 1.466 GB, free: 8.879 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.7649, allocations: 181.9 kB / 1.466 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.291e-06/0.765, allocations: 0.5938 kB / 1.466 GB, free: 8.676 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.765, allocations: 6.281 kB / 1.466 GB, free: 8.672 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.765, allocations: 4 kB / 1.466 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.765, allocations: 3.875 kB / 1.466 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.894e-06/0.765, allocations: 0.7812 kB / 1.466 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.047e-06/0.765, allocations: 0 / 1.466 GB, free: 8.668 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.7652, allocations: 116.7 kB / 1.466 GB, free: 8.578 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.7653, allocations: 79.69 kB / 1.466 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.7653, allocations: 2.578 kB / 1.466 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.7654, allocations: 4.609 kB / 1.466 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.7654, allocations: 20.16 kB / 1.466 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.7654, allocations: 3.328 kB / 1.466 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.7655, allocations: 89.89 kB / 1.466 GB, free: 8.395 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.2e-07/0.7655, allocations: 0 / 1.466 GB, free: 8.395 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000331/0.7658, allocations: 27.91 kB / 1.466 GB, free: 8.395 MB / 0.6042 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 (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.000148/0.766, allocations: 106 kB / 1.466 GB, free: 8.301 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004288/0.7664, allocations: 249 kB / 1.466 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.68e-06/0.7665, allocations: 0 / 1.466 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.7666, allocations: 33.14 kB / 1.466 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.7669, allocations: 19.69 kB / 1.466 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.7672, allocations: 172.2 kB / 1.467 GB, free: 7.965 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.7674, allocations: 0.6885 MB / 1.467 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.7674, allocations: 5.562 kB / 1.467 GB, free: 7.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.7675, allocations: 12.62 kB / 1.467 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of SimCode: time 1.397e-06/0.7675, allocations: 0 / 1.467 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of Templates: time 0.006/0.7735, allocations: 1.708 MB / 1.469 GB, free: 7.094 MB / 0.6042 GB