Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00151/0.00151, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001962/0.001962, allocations: 188.2 kB / 16.13 MB, free: 6.656 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.577/1.577, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.107/3.107, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00232/0.00232, allocations: 65.64 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.4608, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.003056/0.4639, allocations: 0.7176 MB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.4665, allocations: 1.213 MB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.748e-05/0.4666, allocations: 4 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.144e-05/0.4667, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.4668, allocations: 7.922 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.4679, allocations: 198.4 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.4682, allocations: 163.7 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.4684, allocations: 8 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.4686, allocations: 59.83 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.4688, allocations: 47.86 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.351e-05/0.4689, allocations: 8 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.469, allocations: 23.98 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.4691, allocations: 15.92 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.4692, allocations: 47.89 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.4696, allocations: 147.6 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.4696, allocations: 4 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4696, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.4696, allocations: 0 / 1.07 GB, free: 8.184 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.0008439/0.4705, allocations: 435 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.4705, allocations: 8.031 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.4706, allocations: 12.84 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.4708, allocations: 172.3 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.4709, allocations: 4.375 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.654e-05/0.4709, allocations: 12.38 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.4711, allocations: 58.17 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4712, allocations: 192 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.4712, allocations: 3.938 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.4712, allocations: 0 / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.085e-05/0.4713, allocations: 19.98 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.4719, allocations: 352.7 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.472, allocations: 50.44 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.4721, allocations: 20.86 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.4721, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.4723, allocations: 83.45 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.4723, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003145/0.4726, allocations: 113.5 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.4727, allocations: 55.41 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4728, allocations: 117.8 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.4729, allocations: 29.7 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.652e-05/0.473, allocations: 96.03 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.473, allocations: 11.91 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.4731, allocations: 49.69 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4733, allocations: 314.8 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.4735, allocations: 63.95 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.4736, allocations: 100.2 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.4738, allocations: 164 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4739, allocations: 0 / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004583/0.4743, allocations: 264.8 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.957e-05/0.4744, allocations: 73.11 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4744, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4744, allocations: 4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.583e-05/0.4745, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4745, allocations: 4 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.4749, allocations: 59.95 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.4749, allocations: 12 kB / 1.073 GB, free: 5.172 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.0001569/0.4751, allocations: 135.8 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.4751, allocations: 4 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.4752, allocations: 8.375 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4752, allocations: 0 / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.4752, allocations: 0 / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4752, allocations: 4 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.4754, allocations: 181.5 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.4754, allocations: 8 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/0.4754, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4754, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.4755, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4755, allocations: 0 / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.4755, allocations: 4 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.4757, allocations: 105 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.4757, allocations: 85.02 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.4758, allocations: 7.984 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.893e-05/0.4758, allocations: 8.047 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.4759, allocations: 11.94 kB / 1.073 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.4759, allocations: 7.984 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.4759, allocations: 91.22 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4759, allocations: 0 / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002725/0.4762, allocations: 35.98 kB / 1.073 GB, free: 4.395 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.0003361/0.4766, allocations: 99.25 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004188/0.477, allocations: 258.5 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.477, allocations: 4 kB / 1.074 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.4771, allocations: 27.98 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.4774, allocations: 11.98 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.4779, allocations: 168.7 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.4783, allocations: 0.6848 MB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.4783, allocations: 11.77 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.4784, allocations: 11.44 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.4784, allocations: 0 / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of Templates: time 0.00537/0.4837, allocations: 1.765 MB / 1.076 GB, free: 1.301 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)