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.819/1.819, allocations: 285.4 MB / 298 MB, free: 6 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.001167/0.001167, allocations: 172.8 kB / 366.4 MB, free: 2.09 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.969/1.969, allocations: 205.1 MB / 0.6248 GB, free: 7.711 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009213/0.0009213, allocations: 99.48 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.095e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7589, allocations: 115.3 MB / 0.971 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.9505, allocations: 138.2 MB / 1.106 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.9508, allocations: 67.97 kB / 1.106 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00756/0.9584, allocations: 2.217 MB / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9585, allocations: 0 / 1.108 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.9585, allocations: 4 kB / 1.108 GB, free: 11.33 MB / 0.7136 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.0006482/0.9592, allocations: 423.6 kB / 1.109 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.9592, allocations: 8.031 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.9593, allocations: 38.5 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/0.9594, allocations: 17.53 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.9595, allocations: 173.2 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.9595, allocations: 4 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.9596, allocations: 4 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.9597, allocations: 57.67 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9598, allocations: 0 / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.9598, allocations: 4 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.9598, allocations: 0 / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.334e-05/0.9599, allocations: 29.19 kB / 1.109 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.9604, allocations: 336.6 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.684e-05/0.9605, allocations: 30.56 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/0.9605, allocations: 20.86 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.9606, allocations: 4 kB / 1.109 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.9607, allocations: 79.36 kB / 1.109 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.9607, allocations: 0 / 1.109 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002493/0.961, allocations: 75.97 kB / 1.109 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.9611, allocations: 55.41 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.9612, allocations: 113.2 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.9612, allocations: 29.7 kB / 1.11 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.9613, allocations: 92.14 kB / 1.11 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.9613, allocations: 15.8 kB / 1.11 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.9613, allocations: 2.906 kB / 1.11 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.9615, allocations: 322.8 kB / 1.11 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-05/0.9616, allocations: 35.98 kB / 1.11 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.9617, allocations: 58.52 kB / 1.11 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.9618, allocations: 69.73 kB / 1.11 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9618, allocations: 0 / 1.11 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003088/0.9621, allocations: 163.2 kB / 1.11 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.9622, allocations: 37.7 kB / 1.11 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.9622, allocations: 0 / 1.11 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.9622, allocations: 4 kB / 1.11 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.9624, allocations: 23.97 kB / 1.11 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.9624, allocations: 0 / 1.11 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.9626, allocations: 55.92 kB / 1.11 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.9627, allocations: 18.84 kB / 1.111 GB, free: 8.734 MB / 0.7136 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 () * 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 8.604e-05/0.9628, allocations: 108.9 kB / 1.111 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/0.9628, allocations: 3.906 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.9628, allocations: 20.61 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.9629, allocations: 0 / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.9629, allocations: 0 / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9629, allocations: 0 / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.963, allocations: 181.6 kB / 1.111 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9631, allocations: 0 / 1.111 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.9632, allocations: 23.97 kB / 1.111 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.9632, allocations: 4 kB / 1.111 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.9632, allocations: 5.625 kB / 1.111 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9632, allocations: 0 / 1.111 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.9632, allocations: 0 / 1.111 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.9634, allocations: 107.1 kB / 1.111 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.9635, allocations: 84.95 kB / 1.111 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.9635, allocations: 3.984 kB / 1.111 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.9636, allocations: 19.98 kB / 1.111 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.9636, allocations: 15.92 kB / 1.111 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.9637, allocations: 4.812 kB / 1.111 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.767e-05/0.9637, allocations: 89.28 kB / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9637, allocations: 0 / 1.111 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002417/0.964, allocations: 32 kB / 1.111 GB, free: 7.957 MB / 0.7136 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 () * 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.0005918/0.9646, allocations: 0.6566 MB / 1.112 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.9649, allocations: 139.3 kB / 1.112 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.9649, allocations: 4 kB / 1.112 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.965, allocations: 31.92 kB / 1.112 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.9652, allocations: 7.281 kB / 1.112 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/0.9657, allocations: 141 kB / 1.112 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.966, allocations: 0.6887 MB / 1.113 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.808e-05/0.9661, allocations: 4.188 kB / 1.113 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.9661, allocations: 19.42 kB / 1.113 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of SimCode: time 3.6e-07/0.9661, allocations: 0 / 1.113 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.9818, allocations: 2.276 MB / 1.115 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.9821, allocations: 172.6 kB / 1.115 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.576, allocations: 6.609 kB / 1.115 GB, free: 3.883 MB / 0.7136 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)