Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.51/1.51, allocations: 288.4 MB / 303.6 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009428/0.0009428, allocations: 190.8 kB / 372.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.4 MB / 0.631 GB, free: 9.84 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007583/0.0007583, allocations: 90.3 kB / 0.7444 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 13.72 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1865, allocations: 115.3 MB / 0.9802 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0009144/0.1874, allocations: 390.8 kB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.1887, allocations: 1.161 MB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.1888, allocations: 0 / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.1888, allocations: 3.938 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.295e-05/0.1889, allocations: 23.84 kB / 0.9817 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.1895, allocations: 194.5 kB / 0.9819 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1896, allocations: 127.8 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.1897, allocations: 8 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.848e-05/0.1898, allocations: 59.88 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.1899, allocations: 55.81 kB / 0.9822 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.1899, allocations: 8 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.19, allocations: 23.98 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.19, allocations: 7.969 kB / 0.9822 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.1901, allocations: 77.53 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1902, allocations: 108 kB / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1903, allocations: 0 / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.964e-06/0.1903, allocations: 0 / 0.9824 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1903, allocations: 0 / 0.9824 GB, free: 24.93 MB / 0.6198 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.0003891/0.1907, allocations: 406.8 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1907, allocations: 8.031 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.1908, allocations: 34.75 kB / 0.9828 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.1908, allocations: 16.84 kB / 0.9828 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.134e-05/0.1909, allocations: 164.4 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1909, allocations: 4.375 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1909, allocations: 12.38 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1911, allocations: 46.25 kB / 0.983 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.1911, allocations: 7.875 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.1911, allocations: 3.984 kB / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1911, allocations: 4 kB / 0.9831 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.685e-05/0.1911, allocations: 16 kB / 0.9831 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.1915, allocations: 364.5 kB / 0.9834 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.88e-05/0.1916, allocations: 38.56 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.1916, allocations: 12.86 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.1916, allocations: 7.938 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.1918, allocations: 83.45 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1918, allocations: 0 / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002016/0.192, allocations: 101.6 kB / 0.9837 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.1921, allocations: 55.34 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/0.1921, allocations: 117.8 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.1922, allocations: 37.69 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.1922, allocations: 92.03 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.1922, allocations: 15.91 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.1922, allocations: 4 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.1923, allocations: 322.8 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.1924, allocations: 59.97 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1925, allocations: 96.25 kB / 0.9844 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.1927, allocations: 155.6 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1927, allocations: 0 / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003405/0.193, allocations: 260.8 kB / 0.9848 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.1931, allocations: 67.39 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1931, allocations: 8.062 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1931, allocations: 4.125 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.976e-05/0.1931, allocations: 7.938 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1931, allocations: 0 / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.1935, allocations: 86.3 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.1936, allocations: 11.98 kB / 0.985 GB, free: 21.94 MB / 0.6198 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.48e-05/0.1936, allocations: 129.8 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.1937, allocations: 4.469 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.1937, allocations: 4.375 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1937, allocations: 4 kB / 0.9851 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1937, allocations: 4 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1937, allocations: 0 / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.978e-05/0.1938, allocations: 193.4 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1938, allocations: 3.938 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.757e-06/0.1938, allocations: 3.938 kB / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1938, allocations: 0 / 0.9853 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.1938, allocations: 4 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1939, allocations: 3.984 kB / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1939, allocations: 0 / 0.9853 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.194, allocations: 109.1 kB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.194, allocations: 85 kB / 0.9855 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.194, allocations: 0 / 0.9855 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.194, allocations: 4 kB / 0.9855 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.1941, allocations: 11.98 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1941, allocations: 3.984 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.851e-05/0.1941, allocations: 91.27 kB / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1941, allocations: 0 / 0.9856 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002059/0.1944, allocations: 36 kB / 0.9857 GB, free: 21.17 MB / 0.6198 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 (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.0002993/0.1947, allocations: 0.6673 MB / 0.9863 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002537/0.1949, allocations: 242.7 kB / 0.9865 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1949, allocations: 4 kB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.195, allocations: 28.19 kB / 0.9866 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.1952, allocations: 20.95 kB / 0.9866 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008586/0.1961, allocations: 0.702 MB / 0.9873 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.1962, allocations: 0.6926 MB / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.1962, allocations: 4 kB / 0.988 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.1962, allocations: 15.91 kB / 0.988 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.1963, allocations: 4 kB / 0.988 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01222/0.2085, allocations: 2.602 MB / 0.9905 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001374/0.2086, allocations: 207.5 kB / 0.9907 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.421/1.629, allocations: 0 / 0.9907 GB, free: 15.96 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)