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.Switch.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.Switch,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.484/1.484, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.0009969/0.0009968, allocations: 188.5 kB / 372.3 MB, free: 10.12 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.256/1.256, allocations: 205.4 MB / 0.631 GB, free: 9.91 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.0006982/0.0006982, allocations: 102.2 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003401, allocations: 12.81 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1646, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.0005995/0.1652, allocations: 486.6 kB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000984/0.1662, allocations: 1.118 MB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.1663, allocations: 0 / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.949e-06/0.1663, allocations: 3.938 kB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.788e-05/0.1664, allocations: 7.938 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.1667, allocations: 115.2 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.1668, allocations: 111.7 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.1668, allocations: 16 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.1669, allocations: 39.91 kB / 0.982 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.1669, allocations: 47.8 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.167, allocations: 4 kB / 0.9821 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.452e-05/0.167, allocations: 19.98 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.167, allocations: 8 kB / 0.9821 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.1671, allocations: 65.55 kB / 0.9822 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.131e-05/0.1672, allocations: 88.02 kB / 0.9823 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1672, allocations: 0 / 0.9823 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1672, allocations: 0 / 0.9823 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.1672, allocations: 0 / 0.9823 GB, free: 25.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003452/0.1675, allocations: 417 kB / 0.9827 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.473e-05/0.1676, allocations: 8.031 kB / 0.9827 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.921e-05/0.1676, allocations: 38.62 kB / 0.9827 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.1676, allocations: 12.84 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.751e-05/0.1677, allocations: 176.2 kB / 0.9829 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1677, allocations: 12.38 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1677, allocations: 4.375 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.1679, allocations: 94.19 kB / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-06/0.1679, allocations: 3.938 kB / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.1679, allocations: 0 / 0.983 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-06/0.1679, allocations: 3.938 kB / 0.983 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.1682, allocations: 99.91 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.1685, allocations: 332.7 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1687, allocations: 58.55 kB / 0.9835 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1688, allocations: 56.91 kB / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.1688, allocations: 0 / 0.9835 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.1691, allocations: 111.3 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.143e-06/0.1691, allocations: 0 / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004922/0.1696, allocations: 197.5 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.367e-05/0.1696, allocations: 51.41 kB / 0.9839 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.1696, allocations: 125.8 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1697, allocations: 25.7 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.1697, allocations: 100 kB / 0.9841 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.1697, allocations: 15.75 kB / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/0.1697, allocations: 0 / 0.9841 GB, free: 23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.555e-05/0.1698, allocations: 326.8 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.17, allocations: 71.95 kB / 0.9845 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.1702, allocations: 90.45 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.1705, allocations: 176.2 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1705, allocations: 0 / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004457/0.1709, allocations: 231.2 kB / 0.985 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.171, allocations: 33.69 kB / 0.985 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.171, allocations: 4 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.171, allocations: 0 / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1711, allocations: 27.92 kB / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/0.1711, allocations: 0 / 0.985 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.1713, allocations: 55.94 kB / 0.9851 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1714, allocations: 12 kB / 0.9851 GB, free: 21.94 MB / 0.6198 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,$PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.1714, allocations: 125.7 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.1715, allocations: 7.906 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.1715, allocations: 12.36 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1715, allocations: 4 kB / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1715, allocations: 0 / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.1715, allocations: 0 / 0.9852 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.794e-05/0.1716, allocations: 181.6 kB / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1716, allocations: 0 / 0.9854 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.379e-05/0.1717, allocations: 27.97 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1717, allocations: 0 / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1717, allocations: 416 / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1717, allocations: 7.875 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1717, allocations: 8 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.172, allocations: 168.9 kB / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.1721, allocations: 85.11 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.1721, allocations: 4 kB / 0.9857 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.1722, allocations: 15.98 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.1722, allocations: 7.984 kB / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.1722, allocations: 0 / 0.9857 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.791e-05/0.1722, allocations: 99.27 kB / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1723, allocations: 0 / 0.9858 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002014/0.1725, allocations: 27.94 kB / 0.9858 GB, free: 21.08 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: 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 (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.0004905/0.173, allocations: 0.7177 MB / 0.9866 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.1733, allocations: 211.2 kB / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.1734, allocations: 0 / 0.9868 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.1735, allocations: 56.09 kB / 0.9868 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.1737, allocations: 17.19 kB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.1747, allocations: 0.7267 MB / 0.9875 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.104e-05/0.1748, allocations: 0.6923 MB / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.1748, allocations: 4 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.1749, allocations: 19.42 kB / 0.9882 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.1749, allocations: 4 kB / 0.9882 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4854/0.6602, allocations: 2.294 MB / 0.9905 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.6604, allocations: 199.7 kB / 0.9907 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.189, allocations: 0 / 0.9907 GB, free: 16.14 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)