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.636/1.636, allocations: 252 MB / 267.3 MB, free: 10.81 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.001257/0.001257, allocations: 169.5 kB / 327 MB, free: 2.09 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.25/2.25, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0008391/0.0008392, allocations: 103.7 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005759/0.0005759, allocations: 14.91 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2895, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001716/0.2912, allocations: 1.207 MB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004773/0.2917, allocations: 208.3 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.2918, allocations: 3.938 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.2919, allocations: 3.984 kB / 0.9023 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.292, allocations: 11.88 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.2922, allocations: 15.98 kB / 0.9024 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2924, allocations: 67.84 kB / 0.9024 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.2925, allocations: 19.97 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.2926, allocations: 23.86 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.2927, allocations: 31.84 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.2928, allocations: 7.938 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.86e-05/0.2928, allocations: 4 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.2928, allocations: 11.92 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.2929, allocations: 49.58 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.293, allocations: 59.75 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2931, allocations: 0 / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2931, allocations: 0 / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.375e-06/0.2931, allocations: 0 / 0.9026 GB, free: 61.62 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.0007289/0.2938, allocations: 395.6 kB / 0.903 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.2939, allocations: 12.03 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.07e-05/0.294, allocations: 34.75 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.294, allocations: 12.83 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.2942, allocations: 172.2 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.2942, allocations: 384 / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.2942, allocations: 4.375 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.2945, allocations: 94.2 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.2946, allocations: 3.938 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2946, allocations: 0 / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2946, allocations: 0 / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.2949, allocations: 95.92 kB / 0.9034 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.2954, allocations: 308.6 kB / 0.9037 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.2957, allocations: 74.52 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.2959, allocations: 52.95 kB / 0.9038 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.2959, allocations: 4 kB / 0.9038 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.2962, allocations: 103.3 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.2962, allocations: 0 / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006237/0.2968, allocations: 189.5 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2969, allocations: 51.41 kB / 0.9042 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.297, allocations: 121.8 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.297, allocations: 33.64 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.2971, allocations: 92.12 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.2971, allocations: 15.81 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.2971, allocations: 0 / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.2972, allocations: 322.8 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2974, allocations: 47.97 kB / 0.9048 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.2975, allocations: 65.67 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002858/0.2978, allocations: 109.6 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2979, allocations: 0 / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003826/0.2982, allocations: 141.5 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.2983, allocations: 4 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.2983, allocations: 7.938 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2983, allocations: 0 / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.2985, allocations: 31.94 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2985, allocations: 0 / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.2986, allocations: 20.3 kB / 0.9051 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.2986, allocations: 8 kB / 0.9051 GB, free: 58.8 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.2987, allocations: 125.7 kB / 0.9052 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.2987, allocations: 15.91 kB / 0.9053 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.2988, allocations: 8.375 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2988, allocations: 0 / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2988, allocations: 0 / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2988, allocations: 0 / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.299, allocations: 185.6 kB / 0.9054 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.299, allocations: 0 / 0.9054 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.2991, allocations: 19.98 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2991, allocations: 4 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2991, allocations: 7.938 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2991, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2991, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.2995, allocations: 168.9 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.2996, allocations: 81.11 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.2996, allocations: 0 / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.2997, allocations: 27.97 kB / 0.9057 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.2998, allocations: 11.98 kB / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.2998, allocations: 0 / 0.9058 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.2998, allocations: 99.2 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2999, allocations: 0 / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001923/0.3, allocations: 16 kB / 0.9059 GB, free: 57.95 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007042/0.3008, allocations: 0.7021 MB / 0.9065 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003781/0.3012, allocations: 111.9 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3012, allocations: 0 / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.3013, allocations: 64.2 kB / 0.9067 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.3016, allocations: 14.38 kB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3034, allocations: 1.493 MB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.3036, allocations: 0.6848 MB / 0.9089 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.948e-05/0.3037, allocations: 11.73 kB / 0.9089 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.248e-05/0.3037, allocations: 19.38 kB / 0.9089 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.3038, allocations: 0 / 0.9089 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.3177, allocations: 1.754 MB / 0.9106 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/0.3181, allocations: 210.3 kB / 0.9108 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.101, allocations: 3.938 kB / 0.9108 GB, free: 52.85 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)