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.OnOffController.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.OnOffController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.418/1.418, allocations: 252 MB / 267.3 MB, free: 10.8 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.001337/0.001337, allocations: 171.2 kB / 327 MB, free: 2.086 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.006/2.006, 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.001018/0.001018, allocations: 81.58 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004975, allocations: 16.06 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2906, 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.OnOffController): time 0.001891/0.2926, allocations: 1.156 MB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000479/0.2931, allocations: 136.5 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/0.2932, allocations: 0 / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.409e-05/0.2932, allocations: 7.922 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2933, allocations: 4 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.2935, allocations: 19.92 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.255e-05/0.2936, allocations: 39.86 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.2938, allocations: 19.98 kB / 0.9023 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.626e-05/0.2939, allocations: 15.92 kB / 0.9023 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.2939, allocations: 11.92 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.294, allocations: 4 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.294, allocations: 0 / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.294, allocations: 15.98 kB / 0.9023 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.2941, allocations: 37.58 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2942, allocations: 43.84 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.2942, allocations: 0 / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2942, allocations: 4 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2942, allocations: 0 / 0.9024 GB, free: 61.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006785/0.2949, allocations: 383.7 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.295, allocations: 8.031 kB / 0.9028 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.295, allocations: 38.75 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.2951, allocations: 0.9375 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.2952, allocations: 180.3 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2952, allocations: 4.312 kB / 0.903 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.2952, allocations: 8.312 kB / 0.903 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.2955, allocations: 62.23 kB / 0.9031 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.2955, allocations: 7.938 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2955, allocations: 4 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2955, allocations: 0 / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.2957, allocations: 51.95 kB / 0.9031 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.2963, allocations: 316.6 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.2966, allocations: 58.48 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.52e-05/0.2967, allocations: 36.98 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.2967, allocations: 0 / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.2968, allocations: 38.56 kB / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.2968, allocations: 0 / 0.9035 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003678/0.2972, allocations: 105.6 kB / 0.9036 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.2972, allocations: 51.41 kB / 0.9037 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.2973, allocations: 113.8 kB / 0.9038 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2973, allocations: 29.7 kB / 0.9038 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.2973, allocations: 88.12 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.2974, allocations: 11.91 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.2974, allocations: 0 / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.2975, allocations: 318.8 kB / 0.9042 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.89e-05/0.2976, allocations: 27.97 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.2976, allocations: 23.98 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.2978, allocations: 56.81 kB / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2978, allocations: 0 / 0.9043 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001987/0.298, allocations: 101.5 kB / 0.9044 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.298, allocations: 4 kB / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2981, allocations: 0 / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2981, allocations: 0 / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.2982, allocations: 11.98 kB / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.2982, allocations: 4 kB / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.2983, allocations: 19.98 kB / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.2983, allocations: 0 / 0.9045 GB, free: 59.47 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.196e-05/0.2984, allocations: 118.2 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.2984, allocations: 7.906 kB / 0.9046 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.2987, allocations: 97.8 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2987, allocations: 0 / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2987, allocations: 3.938 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2987, allocations: 4 kB / 0.9047 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2989, allocations: 169.6 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2989, allocations: 4 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.299, allocations: 11.98 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.299, allocations: 4 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.299, allocations: 3.938 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.299, allocations: 4 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.299, allocations: 0 / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.2992, allocations: 183.4 kB / 0.9051 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.2993, allocations: 88.95 kB / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2993, allocations: 0 / 0.9051 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.2994, allocations: 23.97 kB / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/0.2995, allocations: 7.984 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.2995, allocations: 0 / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.2996, allocations: 95.27 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2996, allocations: 0 / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001976/0.2998, allocations: 8 kB / 0.9053 GB, free: 58.54 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0005049/0.3003, allocations: 0.7124 MB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002269/0.3005, allocations: 59.89 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3005, allocations: 4 kB / 0.906 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.134e-05/0.3006, allocations: 27.98 kB / 0.906 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.301, allocations: 7.984 kB / 0.9061 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.3022, allocations: 1.367 MB / 0.9074 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.3024, allocations: 0.6848 MB / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.27e-05/0.3025, allocations: 0 / 0.9081 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.3025, allocations: 19.42 kB / 0.9081 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.3025, allocations: 288 / 0.9081 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04283/0.3454, allocations: 1.469 MB / 0.9095 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.3456, allocations: 229.3 kB / 0.9097 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.147, allocations: 0 / 0.9097 GB, free: 53.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)