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.572/1.572, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001195/0.001195, allocations: 179.3 kB / 326.5 MB, free: 2.246 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.217/2.217, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.001052/0.001052, allocations: 88.61 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003252, allocations: 8.312 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2651, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001532/0.2667, allocations: 1.19 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003872/0.2671, allocations: 210.4 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.2672, allocations: 0 / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.2672, allocations: 3.938 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.661e-05/0.2673, allocations: 11.98 kB / 0.9015 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.2674, allocations: 15.97 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.668e-05/0.2675, allocations: 43.89 kB / 0.9016 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2676, allocations: 15.98 kB / 0.9016 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.949e-05/0.2677, allocations: 27.91 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.2678, allocations: 27.84 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.75e-05/0.2678, allocations: 0 / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.559e-05/0.2678, allocations: 4 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.2679, allocations: 4 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.2679, allocations: 37.64 kB / 0.9017 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.15e-05/0.268, allocations: 43.89 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.268, allocations: 0 / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.452e-06/0.268, allocations: 4 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.268, allocations: 0 / 0.9018 GB, free: 62.18 MB / 0.6042 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.0005459/0.2686, allocations: 391.4 kB / 0.9021 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.2686, allocations: 15.97 kB / 0.9021 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.822e-05/0.2687, allocations: 38.56 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.2687, allocations: 7.906 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2688, allocations: 174.9 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2689, allocations: 0 / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2689, allocations: 7.984 kB / 0.9024 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.2691, allocations: 93.59 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2691, allocations: 3.938 kB / 0.9025 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2692, allocations: 3.984 kB / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2692, allocations: 0 / 0.9025 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.2695, allocations: 95.92 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.2699, allocations: 296.8 kB / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.2701, allocations: 66.55 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.2701, allocations: 7.938 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.2704, allocations: 99.47 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.2704, allocations: 0 / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005688/0.271, allocations: 193.7 kB / 0.9032 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.2711, allocations: 59.36 kB / 0.9032 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.249e-05/0.2711, allocations: 117.8 kB / 0.9034 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.2712, allocations: 29.64 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.2712, allocations: 92.12 kB / 0.9035 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.2712, allocations: 15.88 kB / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.2712, allocations: 0 / 0.9035 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.363e-05/0.2713, allocations: 318.8 kB / 0.9038 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.2715, allocations: 47.95 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.2716, allocations: 65.67 kB / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.2718, allocations: 52.03 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2718, allocations: 0 / 0.9039 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003285/0.2721, allocations: 153.5 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2722, allocations: 6.031 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2722, allocations: 3.938 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2722, allocations: 3.984 kB / 0.9041 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2723, allocations: 23.98 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2723, allocations: 3.953 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.2724, allocations: 27.97 kB / 0.9042 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.2725, allocations: 4 kB / 0.9042 GB, free: 59.48 MB / 0.6042 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 6.475e-05/0.2725, allocations: 117.8 kB / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.2725, allocations: 3.906 kB / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.2726, allocations: 12.38 kB / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2726, allocations: 0 / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2726, allocations: 0 / 0.9043 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2726, allocations: 11.94 kB / 0.9043 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.2727, allocations: 177.6 kB / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2727, allocations: 0 / 0.9045 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.122e-05/0.2728, allocations: 27.86 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2728, allocations: 0 / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2729, allocations: 7.984 kB / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2729, allocations: 0 / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2729, allocations: 0 / 0.9045 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.2732, allocations: 168.9 kB / 0.9047 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.581e-05/0.2733, allocations: 89 kB / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.2733, allocations: 0 / 0.9048 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.964e-05/0.2734, allocations: 19.98 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.2734, allocations: 8.109 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.2735, allocations: 12 kB / 0.9048 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.547e-05/0.2735, allocations: 95.27 kB / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2735, allocations: 0 / 0.9049 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001913/0.2737, allocations: 12 kB / 0.9049 GB, free: 58.63 MB / 0.6042 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.0005849/0.2743, allocations: 0.706 MB / 0.9056 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.2746, allocations: 111.8 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2747, allocations: 4.062 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.2748, allocations: 51.97 kB / 0.9057 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.275, allocations: 16.75 kB / 0.9058 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2762, allocations: 0.7719 MB / 0.9065 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2763, allocations: 0.6887 MB / 0.9072 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.2763, allocations: 3.938 kB / 0.9072 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.2764, allocations: 23.42 kB / 0.9072 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2764, allocations: 4 kB / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.2889, allocations: 1.721 MB / 0.9089 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.2891, allocations: 190 kB / 0.9091 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.446/1.735, allocations: 4 kB / 0.9091 GB, free: 54.33 MB / 0.6042 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)