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.626/1.626, allocations: 251.9 MB / 266.9 MB, free: 10.87 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.001051/0.001051, allocations: 174.6 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.102/2.102, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.00107/0.00107, allocations: 90.41 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.00048, allocations: 16.36 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.518, allocations: 131.7 MB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/0.5185, allocations: 71.95 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005128/0.5237, allocations: 1.102 MB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.216e-06/0.5237, allocations: 0 / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.5238, allocations: 4 kB / 1.03 GB, free: 10.73 MB / 0.6823 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.0009811/0.5247, allocations: 399.2 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.5248, allocations: 11.97 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.085e-05/0.5249, allocations: 38.56 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.525, allocations: 3.906 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.5252, allocations: 182.9 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.5252, allocations: 4 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.5253, allocations: 4 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.5257, allocations: 101.5 kB / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5257, allocations: 0 / 1.031 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.5257, allocations: 4 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5257, allocations: 0 / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.5262, allocations: 91.92 kB / 1.031 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006539/0.5269, allocations: 292.8 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.5272, allocations: 74.47 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.5272, allocations: 0 / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.5277, allocations: 103.5 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.5277, allocations: 0 / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0009213/0.5286, allocations: 189.5 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.5287, allocations: 63.3 kB / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.5288, allocations: 109 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.5289, allocations: 25.7 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.5289, allocations: 96.06 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.529, allocations: 11.81 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.529, allocations: 4 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.5291, allocations: 318.8 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.5294, allocations: 48.05 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.5296, allocations: 69.66 kB / 1.032 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.5299, allocations: 43.97 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5299, allocations: 0 / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005988/0.5305, allocations: 149.5 kB / 1.032 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.5305, allocations: 8.031 kB / 1.032 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5305, allocations: 3.938 kB / 1.032 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.5306, allocations: 4 kB / 1.032 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.5308, allocations: 19.98 kB / 1.032 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.5308, allocations: 0 / 1.032 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.531, allocations: 31.92 kB / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.531, allocations: 4 kB / 1.032 GB, free: 8.047 MB / 0.6823 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.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.5312, allocations: 113.8 kB / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.5312, allocations: 7.906 kB / 1.032 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.5313, allocations: 12.36 kB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5313, allocations: 0 / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.5313, allocations: 0 / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5313, allocations: 3.938 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.5316, allocations: 189.6 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5316, allocations: 0 / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.5318, allocations: 23.91 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5318, allocations: 4 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.5318, allocations: 0 / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5318, allocations: 320 / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5318, allocations: 0 / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.5325, allocations: 180.9 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.5326, allocations: 89.02 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.5326, allocations: 0 / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.5328, allocations: 23.97 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.5329, allocations: 7.984 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.5329, allocations: 0 / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001001/0.533, allocations: 107.2 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.533, allocations: 0 / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003571/0.5334, allocations: 11.94 kB / 1.033 GB, free: 7.191 MB / 0.6823 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 (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.001076/0.5344, allocations: 0.699 MB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005808/0.535, allocations: 107.9 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5351, allocations: 0 / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.5354, allocations: 64.02 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.5357, allocations: 8.766 kB / 1.034 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.5376, allocations: 0.7722 MB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.538, allocations: 0.6887 MB / 1.035 GB, free: 4.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.989e-05/0.538, allocations: 4.188 kB / 1.035 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.5381, allocations: 19.42 kB / 1.035 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/0.5381, allocations: 0 / 1.035 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.5564, allocations: 1.724 MB / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/0.5567, allocations: 185.5 kB / 1.037 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.145, allocations: 6.188 kB / 1.037 GB, free: 2.91 MB / 0.6823 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)