Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.001229, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.1 MB / 222.1 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 66.77 kB / 0.6711 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002007/0.202, allocations: 0.785 MB / 0.7838 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.203, allocations: 0.8331 MB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.203, allocations: 0 / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.2031, allocations: 3.938 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.2031, allocations: 7.938 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.2033, allocations: 11.98 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.26e-05/0.2034, allocations: 43.91 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.2035, allocations: 15.98 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.812e-05/0.2035, allocations: 19.94 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.2036, allocations: 19.91 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2036, allocations: 4 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.2036, allocations: 7.938 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.2037, allocations: 7.938 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.2037, allocations: 19.92 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.437e-05/0.2038, allocations: 43.86 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2038, allocations: 0 / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.805e-06/0.2038, allocations: 4 kB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.2038, allocations: 0 / 0.7848 GB, free: 11.94 MB / 0.6075 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.0005647/0.2044, allocations: 379.6 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2044, allocations: 8.031 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.115e-05/0.2045, allocations: 42.67 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.2045, allocations: 8.844 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2046, allocations: 176.2 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2047, allocations: 4.375 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2047, allocations: 4.375 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.2049, allocations: 62.22 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2049, allocations: 3.938 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.2049, allocations: 0 / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2049, allocations: 4 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.2051, allocations: 47.95 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.2056, allocations: 296.7 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.2058, allocations: 58.53 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.072e-05/0.2059, allocations: 25 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.2059, allocations: 0 / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.206, allocations: 30.56 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.206, allocations: 0 / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003616/0.2063, allocations: 105.5 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.2064, allocations: 55.41 kB / 0.786 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.2065, allocations: 109.8 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.2065, allocations: 29.7 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.2065, allocations: 84.14 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.2066, allocations: 7.906 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.2066, allocations: 21.7 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.2067, allocations: 319.2 kB / 0.7866 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.2068, allocations: 19.98 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.2069, allocations: 23.97 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2071, allocations: 44.77 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2071, allocations: 3.938 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002007/0.2073, allocations: 81.56 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2073, allocations: 8 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.2073, allocations: 3.984 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2073, allocations: 0 / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.2074, allocations: 4 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.2074, allocations: 4 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.2075, allocations: 19.91 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.2075, allocations: 7.938 kB / 0.7868 GB, free: 9.641 MB / 0.6075 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 8.218e-05/0.2076, allocations: 117.8 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.2077, allocations: 0 / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.2079, allocations: 85.39 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2079, allocations: 4 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2079, allocations: 0 / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2079, allocations: 0 / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.2081, allocations: 173.6 kB / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2081, allocations: 4 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.2082, allocations: 8 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2082, allocations: 4 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2082, allocations: 0 / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2082, allocations: 0 / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2082, allocations: 3.984 kB / 0.7872 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.2084, allocations: 179.8 kB / 0.7873 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.43e-05/0.2085, allocations: 85.02 kB / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2085, allocations: 0 / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2087, allocations: 15.97 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.2087, allocations: 4 kB / 0.7874 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2087, allocations: 4 kB / 0.7874 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.44e-05/0.2088, allocations: 87.27 kB / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2088, allocations: 4 kB / 0.7875 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002129/0.209, allocations: 12 kB / 0.7875 GB, free: 8.758 MB / 0.6075 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.0005306/0.2096, allocations: 0.7048 MB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002076/0.2098, allocations: 47.95 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2098, allocations: 4 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.422e-05/0.2099, allocations: 23.92 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.2102, allocations: 8 kB / 0.7883 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.2116, allocations: 1.331 MB / 0.7896 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.2119, allocations: 0.6807 MB / 0.7903 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.138e-05/0.212, allocations: 7.906 kB / 0.7903 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.728e-05/0.2121, allocations: 19.42 kB / 0.7903 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.274e-06/0.2121, allocations: 0 / 0.7903 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.2235, allocations: 1.583 MB / 0.7918 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.2237, allocations: 213.2 kB / 0.792 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/1.923, allocations: 0 / 0.792 GB, free: 4.102 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)