Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001293, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001355/0.001355, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.267/1.267, allocations: 205.1 MB / 222 MB, free: 4.953 MB / 174.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.629/1.629, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001478/0.001478, allocations: 73.06 kB / 0.6709 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1907, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001911/0.1927, allocations: 0.8368 MB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.194, allocations: 1.15 MB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.1941, allocations: 4 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.1941, allocations: 3.938 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.1942, allocations: 3.938 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.1946, allocations: 118.9 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1948, allocations: 115.7 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1949, allocations: 19.98 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.195, allocations: 51.84 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.025e-05/0.1951, allocations: 43.77 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.1951, allocations: 4 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.191e-05/0.1952, allocations: 31.97 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.1952, allocations: 7.984 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.1953, allocations: 43.78 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.1955, allocations: 108 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1955, allocations: 0 / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.745e-06/0.1955, allocations: 3.984 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1955, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 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.0006487/0.1962, allocations: 425 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1962, allocations: 11.97 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.1962, allocations: 30.75 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.1963, allocations: 16.84 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.1964, allocations: 176.2 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1965, allocations: 8.312 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1965, allocations: 4.375 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002498/0.1967, allocations: 78.2 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1968, allocations: 3.938 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1968, allocations: 7.984 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1968, allocations: 4 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.1971, allocations: 63.92 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.1975, allocations: 336.6 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1977, allocations: 54.53 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.1979, allocations: 40.92 kB / 0.7865 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1979, allocations: 3.984 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.1982, allocations: 95.34 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1982, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005587/0.1988, allocations: 169.4 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.1988, allocations: 51.41 kB / 0.7868 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.1989, allocations: 125.1 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.1989, allocations: 29.7 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.199, allocations: 92.14 kB / 0.787 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.199, allocations: 19.8 kB / 0.7871 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.1991, allocations: 41.7 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.1992, allocations: 318.8 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.1994, allocations: 59.95 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.1996, allocations: 78.52 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.2, allocations: 144.1 kB / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2, allocations: 96 / 0.7877 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000518/0.2005, allocations: 223.1 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.2005, allocations: 33.69 kB / 0.7879 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2006, allocations: 4 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2006, allocations: 0 / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.2007, allocations: 19.98 kB / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.2007, allocations: 4.062 kB / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.201, allocations: 43.89 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.201, allocations: 12.23 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.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): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.496e-05/0.2011, allocations: 117.8 kB / 0.7881 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.2011, allocations: 7.906 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.2011, allocations: 12.38 kB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2011, allocations: 0 / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2011, allocations: 4 kB / 0.7881 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2011, allocations: 3.984 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.2013, allocations: 185.6 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2013, allocations: 4 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.514e-05/0.2014, allocations: 15.98 kB / 0.7883 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2014, allocations: 0 / 0.7883 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.2014, allocations: 3.984 kB / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2014, allocations: 0 / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2014, allocations: 4 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.2018, allocations: 152.8 kB / 0.7885 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.2018, allocations: 89 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2018, allocations: 0 / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.2019, allocations: 11.98 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.202, allocations: 7.984 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.202, allocations: 4 kB / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.202, allocations: 95.27 kB / 0.7887 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.202, allocations: 4 kB / 0.7887 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002099/0.2022, allocations: 23.94 kB / 0.7887 GB, free: 7.48 MB / 0.6075 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,$whenCondition2,booPul.y) * 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.0006289/0.2029, allocations: 0.6942 MB / 0.7894 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004243/0.2033, allocations: 179.3 kB / 0.7896 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2033, allocations: 0 / 0.7896 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.2035, allocations: 51.89 kB / 0.7896 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.2037, allocations: 24.05 kB / 0.7896 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.2056, allocations: 1.636 MB / 0.7912 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.2059, allocations: 0.6923 MB / 0.7919 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.2059, allocations: 7.984 kB / 0.7919 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.206, allocations: 19.44 kB / 0.7919 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.206, allocations: 0 / 0.7919 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.2168, allocations: 2.373 MB / 0.7942 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/0.2171, allocations: 205.2 kB / 0.7944 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.892/2.109, allocations: 0 / 0.7944 GB, free: 1.496 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)