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.Switch.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.Switch,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",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.319/1.319, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.001031/0.001031, allocations: 174.4 kB / 325.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205 MB / 0.576 GB, free: 21.01 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.0008637/0.0008637, allocations: 94.31 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004468, allocations: 12.38 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1805, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001473/0.182, allocations: 1.214 MB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004093/0.1824, allocations: 221.9 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.1825, allocations: 0 / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.827e-05/0.1825, allocations: 3.938 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.27e-05/0.1826, allocations: 7.922 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.1828, allocations: 15.98 kB / 0.8977 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.231e-05/0.1829, allocations: 71.72 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.183, allocations: 20.22 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.1831, allocations: 27.89 kB / 0.8978 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.1831, allocations: 23.86 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1832, allocations: 4 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.1832, allocations: 0 / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.1832, allocations: 15.92 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.273e-05/0.1832, allocations: 23.86 kB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.176e-05/0.1833, allocations: 55.81 kB / 0.8979 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1833, allocations: 11.94 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1834, allocations: 0 / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.1834, allocations: 0 / 0.8979 GB, free: 66.34 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000528/0.1839, allocations: 399.3 kB / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.184, allocations: 8.031 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.184, allocations: 34.75 kB / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.184, allocations: 4.844 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.1841, allocations: 180.2 kB / 0.8985 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1842, allocations: 4.375 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.1842, allocations: 4.375 kB / 0.8985 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.1844, allocations: 90.2 kB / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1844, allocations: 3.938 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1845, allocations: 4 kB / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1845, allocations: 0 / 0.8986 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.1847, allocations: 95.86 kB / 0.8987 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.1851, allocations: 300.7 kB / 0.899 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1853, allocations: 62.55 kB / 0.899 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.1855, allocations: 56.94 kB / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.1855, allocations: 0 / 0.8991 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.1857, allocations: 107.4 kB / 0.8992 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1858, allocations: 0 / 0.8992 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005122/0.1863, allocations: 185.6 kB / 0.8994 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.1863, allocations: 59.39 kB / 0.8994 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.1864, allocations: 125.7 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1864, allocations: 25.7 kB / 0.8996 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.1865, allocations: 96.08 kB / 0.8997 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.1865, allocations: 11.8 kB / 0.8997 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.1865, allocations: 17.72 kB / 0.8997 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.1866, allocations: 326.7 kB / 0.9 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.1867, allocations: 51.95 kB / 0.9 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1869, allocations: 65.61 kB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.1871, allocations: 109.6 kB / 0.9002 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1871, allocations: 0 / 0.9002 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003173/0.1875, allocations: 145.5 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1875, allocations: 8 kB / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1875, allocations: 0 / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1875, allocations: 0 / 0.9004 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1876, allocations: 24.28 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1877, allocations: 7.984 kB / 0.9004 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1878, allocations: 27.98 kB / 0.9004 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.1878, allocations: 4 kB / 0.9004 GB, free: 63.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 5.991e-05/0.1878, allocations: 117.7 kB / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.1879, allocations: 15.89 kB / 0.9005 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.1879, allocations: 12.38 kB / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1879, allocations: 0 / 0.9006 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1879, allocations: 4 kB / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1879, allocations: 0 / 0.9006 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.685e-05/0.188, allocations: 177.6 kB / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.188, allocations: 0 / 0.9007 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.268e-05/0.1881, allocations: 23.97 kB / 0.9008 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1881, allocations: 0 / 0.9008 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.1881, allocations: 4 kB / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1882, allocations: 4 kB / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1882, allocations: 0 / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.1885, allocations: 168.9 kB / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.1885, allocations: 85.05 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.1885, allocations: 3.938 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.1886, allocations: 27.97 kB / 0.901 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.1887, allocations: 11.98 kB / 0.901 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1887, allocations: 0 / 0.901 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.1887, allocations: 95.27 kB / 0.9011 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1888, allocations: 0 / 0.9011 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001784/0.1889, allocations: 16 kB / 0.9012 GB, free: 62.65 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005146/0.1895, allocations: 0.7021 MB / 0.9018 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003264/0.1898, allocations: 119.9 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1898, allocations: 0 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.19, allocations: 60.08 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.1902, allocations: 13.61 kB / 0.902 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.1917, allocations: 1.483 MB / 0.9035 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.1918, allocations: 0.6887 MB / 0.9041 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.1919, allocations: 7.75 kB / 0.9042 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.1919, allocations: 19.44 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1919, allocations: 0 / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05231/0.2442, allocations: 1.76 MB / 0.9059 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.2444, allocations: 212.1 kB / 0.9061 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/1.699, allocations: 0 / 0.9061 GB, free: 57.56 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)