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.000998/0.0009978, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.001316/0.001316, allocations: 173.1 kB / 16.27 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.561/1.561, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005374/0.0005372, allocations: 10.34 kB / 0.9158 GB, free: 32.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4598, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0009484/0.4608, allocations: 391.9 kB / 1.075 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.4625, allocations: 1.198 MB / 1.076 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.648e-05/0.4625, allocations: 4 kB / 1.076 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.4625, allocations: 3.938 kB / 1.076 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.454e-05/0.4626, allocations: 11.92 kB / 1.076 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006401/0.4633, allocations: 195.1 kB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.4635, allocations: 155.7 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.4636, allocations: 8 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.4637, allocations: 63.88 kB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.4638, allocations: 51.86 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.4638, allocations: 8 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.41e-05/0.4639, allocations: 15.98 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.4639, allocations: 15.92 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.603e-05/0.464, allocations: 69.61 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.4642, allocations: 147.5 kB / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4643, allocations: 0 / 1.076 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4643, allocations: 4 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.4643, allocations: 0 / 1.076 GB, free: 5.164 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.0004816/0.4648, allocations: 411.1 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4648, allocations: 12.03 kB / 1.077 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.4649, allocations: 8.844 kB / 1.077 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.465, allocations: 172.3 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.4651, allocations: 4.375 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.4651, allocations: 16.38 kB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.4652, allocations: 46.23 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4652, allocations: 192 / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.4653, allocations: 3.938 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4653, allocations: 4 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.4653, allocations: 23.94 kB / 1.077 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.4659, allocations: 356.6 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.583e-05/0.466, allocations: 38.52 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.466, allocations: 24.94 kB / 1.077 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.466, allocations: 4 kB / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.4662, allocations: 79.31 kB / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.4662, allocations: 0 / 1.078 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002514/0.4664, allocations: 105.6 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.4665, allocations: 51.41 kB / 1.078 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.4666, allocations: 121.8 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.4666, allocations: 29.7 kB / 1.078 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.4667, allocations: 100.1 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.4667, allocations: 11.81 kB / 1.078 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.4668, allocations: 25.7 kB / 1.078 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.4669, allocations: 322.8 kB / 1.078 GB, free: 3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.4671, allocations: 55.97 kB / 1.078 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.4672, allocations: 92.27 kB / 1.078 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.4674, allocations: 160.1 kB / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4674, allocations: 7.875 kB / 1.079 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004133/0.4679, allocations: 264.8 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/0.4679, allocations: 67.39 kB / 1.079 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.4679, allocations: 12.17 kB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.468, allocations: 4 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.753e-05/0.468, allocations: 7.938 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.468, allocations: 0 / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.4684, allocations: 75.92 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.4685, allocations: 12 kB / 1.079 GB, free: 2.184 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.0001132/0.4686, allocations: 129.7 kB / 1.079 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.4686, allocations: 7.906 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.4686, allocations: 8.375 kB / 1.079 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4686, allocations: 4 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4687, allocations: 4 kB / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4687, allocations: 0 / 1.079 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.4688, allocations: 177.6 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4688, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-06/0.4688, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.4688, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.4689, allocations: 7.938 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4689, allocations: 0 / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4689, allocations: 0 / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.469, allocations: 120.9 kB / 1.079 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.4691, allocations: 81.02 kB / 1.08 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.4691, allocations: 7.984 kB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.4691, allocations: 4 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.4692, allocations: 4 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.4692, allocations: 3.984 kB / 1.08 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.622e-05/0.4692, allocations: 91.22 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4693, allocations: 0 / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002355/0.4695, allocations: 39.98 kB / 1.08 GB, free: 1.41 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.0001763/0.4697, allocations: 105.2 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.47, allocations: 251 kB / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.47, allocations: 0 / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.023e-05/0.4701, allocations: 35.91 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.4703, allocations: 13.8 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.4707, allocations: 167.3 kB / 1.08 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4709, allocations: 0.6887 MB / 1.081 GB, free: 72 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.471, allocations: 7.781 kB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.471, allocations: 11.44 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.471, allocations: 4 kB / 1.081 GB, free: 48 kB / 0.8262 GB Notification: Performance of Templates: time 0.004377/0.4754, allocations: 1.768 MB / 1.083 GB, free: 14.31 MB / 0.8419 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)