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.001462/0.001462, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001314/0.001314, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.729/1.729, allocations: 251.9 MB / 0.51 GB, free: 4.859 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.0005522/0.0005523, allocations: 16 kB / 0.6241 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6129/0.6135, allocations: 106.3 MB / 0.728 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00155/0.6151, allocations: 1.08 MB / 0.729 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004458/0.6155, allocations: 196.4 kB / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.707e-05/0.6156, allocations: 4 kB / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.6156, allocations: 0 / 0.7292 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.703e-05/0.6157, allocations: 11.97 kB / 0.7292 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.6159, allocations: 23.86 kB / 0.7293 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.557e-05/0.616, allocations: 31.95 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.6161, allocations: 8 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.524e-05/0.6161, allocations: 19.92 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.6162, allocations: 31.83 kB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.6162, allocations: 0 / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.6162, allocations: 4 kB / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.6163, allocations: 0 / 0.7294 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.6163, allocations: 37.64 kB / 0.7294 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.923e-05/0.6164, allocations: 41.89 kB / 0.7294 GB, free: 9.957 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.6164, allocations: 0 / 0.7294 GB, free: 9.957 MB / 0.545 GB Notification: Performance of FrontEnd: time 7.474e-06/0.6164, allocations: 4 kB / 0.7294 GB, free: 9.953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6165, allocations: 0 / 0.7294 GB, free: 9.953 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.0005813/0.617, allocations: 367.1 kB / 0.7298 GB, free: 9.547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.6171, allocations: 16.03 kB / 0.7298 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.6171, allocations: 0 / 0.7298 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.6173, allocations: 174.9 kB / 0.73 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.6173, allocations: 4 kB / 0.73 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.6174, allocations: 4 kB / 0.73 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.6175, allocations: 61.59 kB / 0.73 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6175, allocations: 0 / 0.73 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6175, allocations: 0 / 0.73 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.6175, allocations: 4 kB / 0.73 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.345e-05/0.6176, allocations: 19.98 kB / 0.7301 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.6181, allocations: 284.8 kB / 0.7303 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.6182, allocations: 50.5 kB / 0.7304 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.6182, allocations: 0 / 0.7304 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001739/0.6184, allocations: 67.52 kB / 0.7304 GB, free: 8.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.6184, allocations: 0 / 0.7304 GB, free: 8.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000236/0.6187, allocations: 97.62 kB / 0.7305 GB, free: 8.656 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.6187, allocations: 63.28 kB / 0.7306 GB, free: 8.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6188, allocations: 117.8 kB / 0.7307 GB, free: 8.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.6189, allocations: 29.7 kB / 0.7307 GB, free: 8.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.191e-05/0.6189, allocations: 80.14 kB / 0.7308 GB, free: 8.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.6189, allocations: 19.8 kB / 0.7308 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.6189, allocations: 0 / 0.7308 GB, free: 8.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6191, allocations: 322.8 kB / 0.7311 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.6191, allocations: 12 kB / 0.7312 GB, free: 7.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.703e-05/0.6192, allocations: 34.56 kB / 0.7312 GB, free: 7.941 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.6192, allocations: 12 kB / 0.7312 GB, free: 7.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6192, allocations: 192 / 0.7312 GB, free: 7.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001142/0.6193, allocations: 81.52 kB / 0.7313 GB, free: 7.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.6194, allocations: 18.19 kB / 0.7313 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.6194, allocations: 3.984 kB / 0.7313 GB, free: 7.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.6194, allocations: 4 kB / 0.7313 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/0.6195, allocations: 7.938 kB / 0.7313 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.6195, allocations: 4 kB / 0.7313 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.183e-05/0.6196, allocations: 19.92 kB / 0.7313 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.6196, allocations: 7.953 kB / 0.7313 GB, free: 7.781 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 8.259e-05/0.6197, allocations: 121.8 kB / 0.7315 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.6197, allocations: 7.906 kB / 0.7315 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.6197, allocations: 8.375 kB / 0.7315 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.6197, allocations: 3.984 kB / 0.7315 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6197, allocations: 0 / 0.7315 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.6198, allocations: 0 / 0.7315 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.6199, allocations: 181.6 kB / 0.7316 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6199, allocations: 0 / 0.7316 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-06/0.6199, allocations: 4 kB / 0.7317 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6199, allocations: 0 / 0.7317 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.62, allocations: 3.938 kB / 0.7317 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.62, allocations: 4 kB / 0.7317 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.62, allocations: 0 / 0.7317 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.6201, allocations: 105 kB / 0.7318 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.6202, allocations: 81.09 kB / 0.7318 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.6202, allocations: 0 / 0.7318 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.6203, allocations: 23.92 kB / 0.7319 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.6203, allocations: 11.98 kB / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.6204, allocations: 4 kB / 0.7319 GB, free: 7.137 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.6205, allocations: 88.05 kB / 0.732 GB, free: 7.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6205, allocations: 0 / 0.732 GB, free: 7.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001873/0.6207, allocations: 16 kB / 0.732 GB, free: 7.035 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 (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.0001496/0.6208, allocations: 103.2 kB / 0.7321 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.621, allocations: 39.98 kB / 0.7321 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.621, allocations: 4.125 kB / 0.7321 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.621, allocations: 27.92 kB / 0.7321 GB, free: 6.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.6212, allocations: 19.94 kB / 0.7322 GB, free: 6.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.6216, allocations: 167.1 kB / 0.7323 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.622, allocations: 0.6926 MB / 0.733 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.6221, allocations: 11.84 kB / 0.733 GB, free: 5.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.6221, allocations: 7.438 kB / 0.733 GB, free: 5.902 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.6221, allocations: 0 / 0.733 GB, free: 5.902 MB / 0.545 GB Notification: Performance of Templates: time 0.003022/0.6251, allocations: 0.7597 MB / 0.7338 GB, free: 5.148 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: