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.465/1.465, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001137/0.001137, allocations: 179.8 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.3/2.3, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001202/0.001202, allocations: 86.41 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 12.66 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2766, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001561/0.2783, allocations: 1.131 MB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003459/0.2786, allocations: 137.8 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.2787, allocations: 0 / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.2787, allocations: 7.938 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.2788, allocations: 4 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.2789, allocations: 19.91 kB / 0.9014 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.1e-05/0.279, allocations: 23.97 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.2791, allocations: 11.98 kB / 0.9015 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.552e-05/0.2792, allocations: 15.92 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.2793, allocations: 19.86 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.2793, allocations: 4 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.2793, allocations: 4 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.2793, allocations: 3.938 kB / 0.9015 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.2794, allocations: 33.7 kB / 0.9015 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.316e-05/0.2794, allocations: 27.91 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.2795, allocations: 4 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2795, allocations: 0 / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.2795, allocations: 0 / 0.9016 GB, free: 62.35 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.0006027/0.2801, allocations: 387.5 kB / 0.9019 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2801, allocations: 12.03 kB / 0.902 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.2802, allocations: 30.56 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.268e-05/0.2802, allocations: 4 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.635e-05/0.2803, allocations: 171 kB / 0.9021 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2803, allocations: 0 / 0.9021 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.2803, allocations: 8 kB / 0.9022 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.2805, allocations: 65.66 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2806, allocations: 4 kB / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.2806, allocations: 0 / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2806, allocations: 0 / 0.9022 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.2808, allocations: 55.95 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.2812, allocations: 312.6 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.2815, allocations: 58.55 kB / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2816, allocations: 0 / 0.9026 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.2816, allocations: 34.56 kB / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.405e-06/0.2816, allocations: 64 / 0.9027 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005515/0.2822, allocations: 117.5 kB / 0.9028 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.2822, allocations: 63.34 kB / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.259e-05/0.2823, allocations: 109.8 kB / 0.9029 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.2823, allocations: 25.7 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.2824, allocations: 88.14 kB / 0.903 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.2824, allocations: 7.906 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.2824, allocations: 384 / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.2825, allocations: 318.8 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.2826, allocations: 27.98 kB / 0.9034 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.2826, allocations: 23.98 kB / 0.9034 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.297e-05/0.2827, allocations: 31.91 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2827, allocations: 4 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001989/0.2829, allocations: 89.5 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.283, allocations: 8 kB / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.283, allocations: 0 / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.283, allocations: 336 / 0.9035 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.2831, allocations: 15.98 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2831, allocations: 7.938 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2832, allocations: 19.98 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.2832, allocations: 4 kB / 0.9036 GB, free: 60.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.589e-05/0.2833, allocations: 111.4 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.2834, allocations: 7.984 kB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.2837, allocations: 97.48 kB / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2837, allocations: 0 / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2837, allocations: 0 / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2837, allocations: 7.938 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.2838, allocations: 173.6 kB / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.2838, allocations: 0 / 0.904 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.2839, allocations: 15.98 kB / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.2839, allocations: 0 / 0.904 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2839, allocations: 4 kB / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2839, allocations: 0 / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2839, allocations: 0 / 0.904 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.2842, allocations: 183.5 kB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.2842, allocations: 81.02 kB / 0.9042 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.2842, allocations: 11.92 kB / 0.9042 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.2844, allocations: 19.98 kB / 0.9043 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.2844, allocations: 15.92 kB / 0.9043 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.2844, allocations: 0 / 0.9043 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.2845, allocations: 91.27 kB / 0.9044 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2845, allocations: 0 / 0.9044 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002059/0.2847, allocations: 7.938 kB / 0.9044 GB, free: 59.14 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 (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.000447/0.2851, allocations: 0.7088 MB / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.2854, allocations: 63.89 kB / 0.9051 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2854, allocations: 7.938 kB / 0.9051 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.2855, allocations: 27.97 kB / 0.9052 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.2857, allocations: 11.19 kB / 0.9052 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009601/0.2867, allocations: 493.5 kB / 0.9056 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.2868, allocations: 0.6848 MB / 0.9063 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.515e-05/0.2869, allocations: 0 / 0.9063 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.2869, allocations: 15.44 kB / 0.9063 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2869, allocations: 0 / 0.9063 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.2988, allocations: 1.428 MB / 0.9077 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.2991, allocations: 208.2 kB / 0.9079 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.963, allocations: 6.328 kB / 0.9079 GB, free: 55.55 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)