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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.464/1.464, allocations: 251.9 MB / 266.8 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001357, allocations: 183.3 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009289/0.0009291, allocations: 92.91 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003349, allocations: 12.66 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1818, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001099/0.183, allocations: 1.091 MB / 0.9012 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000321/0.1833, allocations: 193.8 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.1834, allocations: 0 / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.1834, allocations: 7.922 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.1835, allocations: 15.97 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.1836, allocations: 15.92 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.009e-05/0.1836, allocations: 31.95 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.1837, allocations: 11.98 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.413e-05/0.1838, allocations: 15.94 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.1838, allocations: 23.91 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1839, allocations: 4 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.1839, allocations: 0 / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.1839, allocations: 11.92 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.1839, allocations: 37.69 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.166e-05/0.184, allocations: 27.94 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.184, allocations: 0 / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.184, allocations: 0 / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.184, allocations: 0 / 0.9016 GB, free: 62.32 MB / 0.6042 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.0004437/0.1845, allocations: 375.5 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1845, allocations: 8.031 kB / 0.902 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.1846, allocations: 30.56 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.1846, allocations: 7.938 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.749e-05/0.1847, allocations: 182.9 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.587e-06/0.1847, allocations: 4 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1847, allocations: 0 / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.89e-05/0.1848, allocations: 57.67 kB / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1848, allocations: 0 / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.1849, allocations: 0 / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1849, allocations: 0 / 0.9022 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.1849, allocations: 27.98 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.1853, allocations: 288.7 kB / 0.9025 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.044e-05/0.1854, allocations: 50.56 kB / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.1854, allocations: 0 / 0.9026 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.1855, allocations: 71.5 kB / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/0.1855, allocations: 0 / 0.9027 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.000167/0.1857, allocations: 89.53 kB / 0.9027 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.1857, allocations: 59.47 kB / 0.9028 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.532e-05/0.1858, allocations: 126.1 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1858, allocations: 25.7 kB / 0.9029 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.546e-05/0.1858, allocations: 92.03 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.1859, allocations: 7.906 kB / 0.903 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.1859, allocations: 4 kB / 0.903 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.1859, allocations: 318.8 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.186, allocations: 19.98 kB / 0.9034 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.186, allocations: 38.5 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.186, allocations: 20 kB / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.186, allocations: 0 / 0.9034 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.94e-05/0.1861, allocations: 77.53 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1861, allocations: 8 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1862, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1862, allocations: 0 / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.507e-05/0.1862, allocations: 4 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1862, allocations: 4 kB / 0.9035 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.1863, allocations: 23.94 kB / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1863, allocations: 4 kB / 0.9035 GB, free: 60.1 MB / 0.6042 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 5.427e-05/0.1864, allocations: 124.3 kB / 0.9037 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.1864, allocations: 7.906 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.1864, allocations: 8.375 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1864, allocations: 0 / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1865, allocations: 0 / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1865, allocations: 4 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.848e-05/0.1866, allocations: 185.6 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1866, allocations: 0 / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-06/0.1866, allocations: 4 kB / 0.9039 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1866, allocations: 3.938 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1866, allocations: 4 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1866, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1866, allocations: 0 / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.654e-05/0.1867, allocations: 112.9 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.1867, allocations: 81.11 kB / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1868, allocations: 0 / 0.9041 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.1868, allocations: 15.98 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1869, allocations: 11.97 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1869, allocations: 4 kB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.56e-05/0.1869, allocations: 87.28 kB / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1869, allocations: 0 / 0.9042 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001906/0.1871, allocations: 16 kB / 0.9042 GB, free: 59.35 MB / 0.6042 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.0002486/0.1874, allocations: 0.6399 MB / 0.9048 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.76e-05/0.1875, allocations: 52.64 kB / 0.9049 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1875, allocations: 0 / 0.9049 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.277e-05/0.1875, allocations: 32.05 kB / 0.9049 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.1877, allocations: 11.98 kB / 0.9049 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.1883, allocations: 0.7888 MB / 0.9057 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.186e-05/0.1884, allocations: 0.6926 MB / 0.9063 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.943e-05/0.1884, allocations: 4 kB / 0.9064 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.5e-05/0.1885, allocations: 15.44 kB / 0.9064 GB, free: 57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.1885, allocations: 7.938 kB / 0.9064 GB, free: 57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.1995, allocations: 1.611 MB / 0.9079 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.1997, allocations: 182.5 kB / 0.9081 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.669, allocations: 7.938 kB / 0.9081 GB, free: 55.28 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)