Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.478/2.478, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001393/0.001393, allocations: 176.9 kB / 360.6 MB, free: 7.297 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.992/1.992, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001103/0.001102, allocations: 88.42 kB / 0.7321 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.29e-05, allocations: 8 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.8265, allocations: 115.2 MB / 0.9634 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2371/1.064, allocations: 137.4 MB / 1.098 GB, free: 3.094 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.064, allocations: 67.95 kB / 1.098 GB, free: 3.027 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01081/1.075, allocations: 2.211 MB / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.754e-06/1.075, allocations: 0 / 1.1 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.774e-06/1.075, allocations: 0 / 1.1 GB, free: 0.8672 MB / 0.698 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.0007597/1.076, allocations: 419 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.076, allocations: 12.02 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/1.076, allocations: 14.86 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/1.076, allocations: 176.7 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/1.076, allocations: 8 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/1.076, allocations: 5.594 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001308/1.076, allocations: 26.56 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/1.076, allocations: 51.27 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.549e-06/1.076, allocations: 0 / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/1.077, allocations: 0 / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/1.077, allocations: 7.984 kB / 1.101 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005971/1.077, allocations: 309.2 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/1.077, allocations: 26.58 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/1.077, allocations: 20.8 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/1.077, allocations: 0 / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/1.078, allocations: 71.48 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 4.178e-06/1.078, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002728/1.078, allocations: 77.53 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/1.078, allocations: 51.41 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.078, allocations: 109.2 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/1.078, allocations: 29.7 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.099e-05/1.078, allocations: 92.14 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/1.078, allocations: 13.11 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/1.078, allocations: 8 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.078, allocations: 318.8 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/1.079, allocations: 39.92 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/1.079, allocations: 50.66 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/1.079, allocations: 43.94 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.079, allocations: 0 / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005386/1.08, allocations: 139.7 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/1.08, allocations: 41.69 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.08, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.08, allocations: 2.156 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/1.08, allocations: 19.98 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.08, allocations: 4 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/1.08, allocations: 59.94 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/1.08, allocations: 4 kB / 1.102 GB, free: 14.46 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 0.0001187/1.081, allocations: 112.7 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000175/1.081, allocations: 81.53 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.961e-05/1.081, allocations: 7.906 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.995e-05/1.081, allocations: 12.61 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.081, allocations: 0 / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.081, allocations: 0 / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/1.081, allocations: 3.953 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/1.081, allocations: 154.2 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.081, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/1.081, allocations: 27.61 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/1.081, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.081, allocations: 4 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/1.081, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.081, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/1.082, allocations: 110 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/1.082, allocations: 77.11 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/1.082, allocations: 7.938 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/1.082, allocations: 19.98 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/1.082, allocations: 7.359 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/1.082, allocations: 8 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.225e-05/1.082, allocations: 92.52 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.082, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003227/1.082, allocations: 27.91 kB / 1.103 GB, free: 13.64 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.0006353/1.083, allocations: 0.6514 MB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003353/1.083, allocations: 135.4 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.083, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/1.084, allocations: 19.94 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/1.084, allocations: 21.66 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/1.084, allocations: 123.9 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/1.085, allocations: 0.6885 MB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.138e-05/1.085, allocations: 9.422 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/1.085, allocations: 17.08 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/1.085, allocations: 4 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04128/1.126, allocations: 1.876 MB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004522/1.127, allocations: 141.8 kB / 1.106 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/3.369, allocations: 4 kB / 1.106 GB, free: 9.891 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1)