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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.00144/0.00144, allocations: 190.7 kB / 16.14 MB, free: 6.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.1 MB / 222 MB, free: 5.016 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.647/1.647, allocations: 251.6 MB / 0.5088 GB, free: 3.309 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.92 kB / 0.6216 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.6483, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.003292/0.6517, allocations: 1.439 MB / 0.7252 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004878/0.6522, allocations: 200.3 kB / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.6523, allocations: 0 / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.834e-05/0.6523, allocations: 7.938 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.65e-05/0.6524, allocations: 15.91 kB / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.6526, allocations: 15.98 kB / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.6527, allocations: 51.8 kB / 0.7255 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.6528, allocations: 11.98 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.969e-05/0.6529, allocations: 19.88 kB / 0.7255 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.6529, allocations: 23.91 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.653, allocations: 4 kB / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.653, allocations: 0 / 0.7256 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.203e-05/0.653, allocations: 23.91 kB / 0.7256 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.6531, allocations: 15.94 kB / 0.7256 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.6532, allocations: 53.7 kB / 0.7256 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.6532, allocations: 0 / 0.7256 GB, free: 11.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6532, allocations: 0 / 0.7256 GB, free: 11.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.6532, allocations: 0 / 0.7256 GB, free: 11.25 MB / 0.545 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.0005499/0.6538, allocations: 371.3 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.6538, allocations: 8.031 kB / 0.726 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.6539, allocations: 12.84 kB / 0.726 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.654, allocations: 180.3 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.6541, allocations: 8.312 kB / 0.7262 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.6541, allocations: 384 / 0.7262 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.6542, allocations: 54.23 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.6542, allocations: 192 / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.6542, allocations: 3.938 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.6542, allocations: 4 kB / 0.7263 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.6543, allocations: 23.98 kB / 0.7263 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.6549, allocations: 284.8 kB / 0.7266 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.655, allocations: 54.42 kB / 0.7266 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.6551, allocations: 16.98 kB / 0.7266 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.6551, allocations: 0 / 0.7266 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.6553, allocations: 75.38 kB / 0.7267 GB, free: 10.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.6553, allocations: 0 / 0.7267 GB, free: 10.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000277/0.6556, allocations: 93.59 kB / 0.7268 GB, free: 9.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.6557, allocations: 59.39 kB / 0.7268 GB, free: 9.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.6558, allocations: 113.8 kB / 0.727 GB, free: 9.723 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.6558, allocations: 29.7 kB / 0.727 GB, free: 9.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.6559, allocations: 80.14 kB / 0.7271 GB, free: 9.605 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.6559, allocations: 15.81 kB / 0.7271 GB, free: 9.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.656, allocations: 29.7 kB / 0.7271 GB, free: 9.555 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.6561, allocations: 314.8 kB / 0.7274 GB, free: 9.238 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.6562, allocations: 15.98 kB / 0.7274 GB, free: 9.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.907e-05/0.6562, allocations: 34.58 kB / 0.7274 GB, free: 9.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/0.6563, allocations: 54.44 kB / 0.7275 GB, free: 9.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6563, allocations: 4 kB / 0.7275 GB, free: 9.113 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001258/0.6565, allocations: 89.45 kB / 0.7276 GB, free: 9.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.6565, allocations: 4 kB / 0.7276 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6565, allocations: 0 / 0.7276 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.6565, allocations: 192 / 0.7276 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.6566, allocations: 4 kB / 0.7276 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.6566, allocations: 11.88 kB / 0.7276 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.641e-05/0.6567, allocations: 11.92 kB / 0.7276 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.6567, allocations: 8 kB / 0.7276 GB, free: 8.98 MB / 0.545 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,xor1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001267/0.6569, allocations: 125.8 kB / 0.7277 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.6569, allocations: 4 kB / 0.7278 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.6569, allocations: 12.38 kB / 0.7278 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.6569, allocations: 0 / 0.7278 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.657, allocations: 4 kB / 0.7278 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.657, allocations: 0 / 0.7278 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.6572, allocations: 177.5 kB / 0.7279 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.6572, allocations: 4 kB / 0.7279 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-06/0.6572, allocations: 0 / 0.7279 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.6572, allocations: 4 kB / 0.7279 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6572, allocations: 0 / 0.7279 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6572, allocations: 0.7031 kB / 0.7279 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6572, allocations: 4 kB / 0.7279 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.6574, allocations: 109 kB / 0.7281 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.6575, allocations: 85.02 kB / 0.7281 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.6575, allocations: 4 kB / 0.7281 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.693e-05/0.6576, allocations: 7.984 kB / 0.7281 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.6576, allocations: 15.98 kB / 0.7282 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.6577, allocations: 7.984 kB / 0.7282 GB, free: 8.332 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.6577, allocations: 87.28 kB / 0.7283 GB, free: 8.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6577, allocations: 0 / 0.7283 GB, free: 8.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001918/0.6579, allocations: 8 kB / 0.7283 GB, free: 8.238 MB / 0.545 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 (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.0001902/0.6581, allocations: 107.2 kB / 0.7284 GB, free: 8.125 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.6583, allocations: 43.92 kB / 0.7284 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6583, allocations: 4.125 kB / 0.7284 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.876e-05/0.6583, allocations: 27.94 kB / 0.7284 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.6586, allocations: 27.8 kB / 0.7285 GB, free: 8.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.659, allocations: 163.6 kB / 0.7286 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.6594, allocations: 0.6864 MB / 0.7293 GB, free: 7.125 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.6594, allocations: 11.84 kB / 0.7293 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.6594, allocations: 15.44 kB / 0.7293 GB, free: 7.098 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.6594, allocations: 0 / 0.7293 GB, free: 7.098 MB / 0.545 GB Notification: Performance of Templates: time 0.00326/0.6627, allocations: 0.8018 MB / 0.7301 GB, free: 6.305 MB / 0.545 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)