Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001069/0.001069, allocations: 118 kB / 16.38 MB, free: 6.016 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.001068/0.001068, allocations: 190.5 kB / 17.31 MB, free: 5.613 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.379/1.379, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.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.00146/0.00146, allocations: 68.12 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2122, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001816/0.2141, allocations: 0.6816 MB / 0.7855 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2154, allocations: 1.191 MB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.2154, allocations: 0 / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.2155, allocations: 3.938 kB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.2155, allocations: 11.88 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.2161, allocations: 226.3 kB / 0.7869 GB, free: 1.062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.2163, allocations: 179.8 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.594e-05/0.2164, allocations: 11.98 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.691e-05/0.2165, allocations: 63.91 kB / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.2166, allocations: 67.77 kB / 0.7872 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.918e-05/0.2167, allocations: 16 kB / 0.7872 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.625e-05/0.2167, allocations: 27.98 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.2168, allocations: 15.98 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.2168, allocations: 59.83 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.217, allocations: 155.5 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.217, allocations: 0 / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2171, allocations: 4 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2171, allocations: 0 / 0.7874 GB, free: 484 kB / 0.6544 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.2871/0.5042, allocations: 424.9 kB / 0.7878 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.5042, allocations: 8.625 kB / 0.7878 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.953e-05/0.5043, allocations: 10.66 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/0.5044, allocations: 171.9 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.5045, allocations: 9.656 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.5045, allocations: 12.05 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.5046, allocations: 49.11 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5046, allocations: 3.281 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5047, allocations: 10.69 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.5047, allocations: 0.6562 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.5047, allocations: 14.91 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.5051, allocations: 351.6 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.763e-05/0.5052, allocations: 39.91 kB / 0.7885 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.5052, allocations: 19.17 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.5052, allocations: 0 / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.5054, allocations: 79.58 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5054, allocations: 1.5 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002266/0.5056, allocations: 109.9 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.5057, allocations: 55.59 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.216e-05/0.5057, allocations: 114.6 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.5058, allocations: 34.27 kB / 0.7889 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.5058, allocations: 95.05 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.5058, allocations: 13.75 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-05/0.5059, allocations: 51.88 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.506, allocations: 319 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5061, allocations: 68.14 kB / 0.7894 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.5062, allocations: 89.7 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.5064, allocations: 166.2 kB / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5064, allocations: 0 / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003321/0.5067, allocations: 264.5 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.5068, allocations: 66.44 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.5068, allocations: 2.625 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.5068, allocations: 2.625 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.107e-05/0.5068, allocations: 4.422 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.5068, allocations: 2.625 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.5072, allocations: 58.62 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.5072, allocations: 13.31 kB / 0.7901 GB, free: 47.38 MB / 0.6544 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 7.189e-05/0.5073, allocations: 127.5 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.5073, allocations: 6.312 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.5073, allocations: 9 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5073, allocations: 3.938 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5073, allocations: 0 / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5074, allocations: 2.484 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.045e-05/0.5074, allocations: 188.4 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5074, allocations: 0 / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.5075, allocations: 2.531 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.5075, allocations: 1.5 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.5075, allocations: 6.672 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5075, allocations: 4.312 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5075, allocations: 3.281 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.5076, allocations: 108.2 kB / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.5076, allocations: 85.67 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.5077, allocations: 1.25 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.5077, allocations: 0 / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.5077, allocations: 13.56 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.5077, allocations: 3.469 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.5078, allocations: 93.03 kB / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5078, allocations: 0 / 0.7907 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002265/0.508, allocations: 30.62 kB / 0.7907 GB, free: 46.83 MB / 0.6544 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.0001127/0.5081, allocations: 104.1 kB / 0.7908 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002776/0.5084, allocations: 251.7 kB / 0.791 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5084, allocations: 4.844 kB / 0.7911 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.887e-05/0.5085, allocations: 28 kB / 0.7911 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.5087, allocations: 21.58 kB / 0.7911 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.509, allocations: 182.4 kB / 0.7913 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.062e-05/0.5091, allocations: 0.6868 MB / 0.7919 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.5091, allocations: 17.02 kB / 0.792 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.5091, allocations: 0.6875 kB / 0.792 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.002479/0.5116, allocations: 1.395 MB / 0.7933 GB, free: 45.71 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)