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.489/1.489, allocations: 249.3 MB / 261.8 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 174.1 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.001094/0.001094, allocations: 88.53 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.912e-05, allocations: 8 kB / 0.788 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 106.3 MB / 0.8919 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.826/1.041, allocations: 131.7 MB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.042, allocations: 74.27 kB / 1.021 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003336/1.045, allocations: 1.11 MB / 1.022 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/1.045, allocations: 0 / 1.022 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.013e-06/1.045, allocations: 0 / 1.022 GB, free: 2.008 MB / 0.6355 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.0006073/1.046, allocations: 385.5 kB / 1.022 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/1.046, allocations: 12.03 kB / 1.022 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.479e-05/1.046, allocations: 33.69 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/1.046, allocations: 7.984 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/1.046, allocations: 182.8 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/1.046, allocations: 6.812 kB / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/1.046, allocations: 0 / 1.022 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/1.046, allocations: 59.56 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.046, allocations: 0 / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.046, allocations: 0 / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.046, allocations: 0 / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.376e-05/1.046, allocations: 25.69 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/1.047, allocations: 293.7 kB / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/1.047, allocations: 44.12 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/1.047, allocations: 26.77 kB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/1.047, allocations: 0 / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/1.047, allocations: 62.03 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/1.047, allocations: 0 / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002238/1.047, allocations: 76.84 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/1.048, allocations: 59.36 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/1.048, allocations: 112.2 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/1.048, allocations: 25.7 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.801e-05/1.048, allocations: 91.36 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/1.048, allocations: 19.86 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/1.048, allocations: 0 / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.048, allocations: 318.7 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/1.048, allocations: 15.25 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.174e-05/1.048, allocations: 37.2 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/1.048, allocations: 11.5 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.048, allocations: 4 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001493/1.048, allocations: 68.81 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.048, allocations: 9.562 kB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.048, allocations: 0 / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.048, allocations: 0 / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/1.049, allocations: 27.84 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.049, allocations: 4 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/1.049, allocations: 38.83 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/1.049, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 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 () * 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 7.177e-05/1.049, allocations: 115.4 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/1.049, allocations: 8 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/1.049, allocations: 11.55 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.049, allocations: 3.984 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.049, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.049, allocations: 0 / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/1.049, allocations: 186.3 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.049, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/1.049, allocations: 23.97 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/1.049, allocations: 4 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/1.049, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.049, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.049, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/1.049, allocations: 104.9 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/1.049, allocations: 85.02 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/1.049, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/1.05, allocations: 32.09 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/1.05, allocations: 11.55 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/1.05, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.759e-05/1.05, allocations: 92.89 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.05, allocations: 0 / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001779/1.05, allocations: 19.86 kB / 1.024 GB, free: 15.17 MB / 0.6511 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 () * 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.0004327/1.05, allocations: 0.6306 MB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001264/1.05, allocations: 45.81 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.05, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.943e-05/1.051, allocations: 23.31 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/1.051, allocations: 19.42 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/1.051, allocations: 134.6 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/1.051, allocations: 0.6926 MB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.125e-05/1.051, allocations: 4.188 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/1.051, allocations: 14.5 kB / 1.026 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of SimCode: time 3.4e-07/1.051, allocations: 4 kB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/1.063, allocations: 1.742 MB / 1.027 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/1.063, allocations: 164.2 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.556, allocations: 4 kB / 1.028 GB, free: 11.72 MB / 0.6511 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)