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.357/1.357, allocations: 251.5 MB / 266.7 MB, free: 10.97 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.0008962/0.0008962, allocations: 177.3 kB / 325.8 MB, free: 2.645 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205 MB / 0.576 GB, free: 20.94 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.0006707/0.0006707, allocations: 93.67 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002992, allocations: 16.31 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1892, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001499/0.1907, allocations: 1.156 MB / 0.8973 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003251/0.1911, allocations: 149.2 kB / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.1911, allocations: 0 / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.498e-05/0.1912, allocations: 0 / 0.8975 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.1913, allocations: 3.938 kB / 0.8975 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.1914, allocations: 15.98 kB / 0.8975 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.567e-05/0.1915, allocations: 39.86 kB / 0.8975 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1916, allocations: 20.2 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.1917, allocations: 8 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.1917, allocations: 35.83 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1918, allocations: 0 / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-06/0.1918, allocations: 0 / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.1918, allocations: 4 kB / 0.8976 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.1918, allocations: 19.86 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.438e-05/0.1919, allocations: 35.81 kB / 0.8977 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1919, allocations: 4 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1919, allocations: 0 / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1919, allocations: 0 / 0.8977 GB, free: 66.51 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.0005262/0.1925, allocations: 383.4 kB / 0.898 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1925, allocations: 16.03 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.1926, allocations: 38.73 kB / 0.8981 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.1926, allocations: 0.9375 kB / 0.8981 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.083e-05/0.1927, allocations: 172.2 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.1927, allocations: 384 / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-06/0.1927, allocations: 4.375 kB / 0.8983 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1929, allocations: 70.22 kB / 0.8983 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.1929, allocations: 3.938 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1929, allocations: 8 kB / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1929, allocations: 0 / 0.8983 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001706/0.1931, allocations: 55.91 kB / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00043/0.1936, allocations: 304.7 kB / 0.8987 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.1938, allocations: 62.48 kB / 0.8987 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.1939, allocations: 29 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1939, allocations: 4 kB / 0.8988 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.27e-05/0.1939, allocations: 34.56 kB / 0.8988 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.194, allocations: 3.938 kB / 0.8988 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0003223/0.1943, allocations: 101.8 kB / 0.8989 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.1943, allocations: 55.41 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.1944, allocations: 121.8 kB / 0.8991 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.1944, allocations: 33.64 kB / 0.8991 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/0.1944, allocations: 84.14 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.1944, allocations: 11.84 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.1945, allocations: 13.72 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.669e-05/0.1945, allocations: 318.8 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.1946, allocations: 23.98 kB / 0.8995 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.1947, allocations: 40 kB / 0.8996 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1948, allocations: 48.83 kB / 0.8996 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1948, allocations: 0 / 0.8996 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001846/0.195, allocations: 93.56 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1951, allocations: 4 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.1951, allocations: 0 / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1951, allocations: 4 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.1952, allocations: 15.92 kB / 0.8997 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1952, allocations: 7.984 kB / 0.8997 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.1953, allocations: 19.97 kB / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1954, allocations: 4 kB / 0.8998 GB, free: 64.13 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 (onOffController.y,$PRE.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 6.19e-05/0.1954, allocations: 113.8 kB / 0.8999 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.1955, allocations: 7.906 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/0.1957, allocations: 97.55 kB / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1957, allocations: 0 / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1957, allocations: 0 / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1957, allocations: 0 / 0.9 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.1958, allocations: 169.7 kB / 0.9001 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1959, allocations: 4 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.1959, allocations: 19.92 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1959, allocations: 0 / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1959, allocations: 0 / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1959, allocations: 384 / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1959, allocations: 4 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1961, allocations: 187.4 kB / 0.9003 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.259e-05/0.1962, allocations: 81.02 kB / 0.9004 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.1962, allocations: 3.938 kB / 0.9004 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.1963, allocations: 23.98 kB / 0.9004 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.1964, allocations: 7.984 kB / 0.9005 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1964, allocations: 3.938 kB / 0.9005 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.823e-05/0.1964, allocations: 91.27 kB / 0.9005 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.31e-07/0.1964, allocations: 0 / 0.9005 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001945/0.1966, allocations: 11.94 kB / 0.9006 GB, free: 63.21 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.0003709/0.197, allocations: 0.7165 MB / 0.9013 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.1972, allocations: 59.95 kB / 0.9013 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1972, allocations: 4 kB / 0.9013 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.1973, allocations: 27.92 kB / 0.9013 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.1976, allocations: 8 kB / 0.9013 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.1987, allocations: 1.365 MB / 0.9027 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.1988, allocations: 0.6809 MB / 0.9033 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.991e-05/0.1988, allocations: 4 kB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.1989, allocations: 11.44 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1989, allocations: 0 / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.2207, allocations: 1.463 MB / 0.9048 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/0.2209, allocations: 236.2 kB / 0.905 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.562/1.783, allocations: 4 kB / 0.905 GB, free: 58.65 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)