Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Continuous.Validation.Cos,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",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.001204/0.001208, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.257/1.257, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.563/1.563, allocations: 292.3 MB / 0.5489 GB, free: 13.5 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.001328/0.001328, allocations: 76.62 kB / 0.6716 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1892, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001923/0.1912, allocations: 0.6634 MB / 0.7841 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007386/0.1919, allocations: 0.8127 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.192, allocations: 0 / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.192, allocations: 3.938 kB / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.1921, allocations: 0 / 0.7849 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.1922, allocations: 11.94 kB / 0.785 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.375e-05/0.1922, allocations: 23.92 kB / 0.785 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.4e-05/0.1923, allocations: 11.98 kB / 0.785 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.007e-05/0.1924, allocations: 15.92 kB / 0.785 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.317e-05/0.1924, allocations: 11.94 kB / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1924, allocations: 0 / 0.785 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.1924, allocations: 4 kB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1925, allocations: 3.984 kB / 0.785 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.1925, allocations: 7.938 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.98e-05/0.1926, allocations: 15.97 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1926, allocations: 4 kB / 0.7851 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1926, allocations: 0 / 0.7851 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.1926, allocations: 0 / 0.7851 GB, free: 11.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003553/0.1929, allocations: 343.7 kB / 0.7854 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.193, allocations: 8.031 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.193, allocations: 34.69 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.794e-05/0.193, allocations: 4.938 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.32e-05/0.1931, allocations: 164.4 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1931, allocations: 384 / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1932, allocations: 8.375 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1933, allocations: 50.23 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1933, allocations: 7.875 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1933, allocations: 4 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1934, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.1935, allocations: 27.97 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.1938, allocations: 252.9 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.1939, allocations: 46.5 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.194, allocations: 16.91 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.194, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.194, allocations: 38.48 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.194, allocations: 4 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003084/0.1943, allocations: 77.66 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.1944, allocations: 55.39 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.1944, allocations: 101.9 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.1945, allocations: 29.64 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.1945, allocations: 80.14 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.1945, allocations: 3.906 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.1945, allocations: 21.7 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.1946, allocations: 315 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.86e-05/0.1947, allocations: 15.98 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.553e-05/0.1948, allocations: 19.92 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1949, allocations: 36.81 kB / 0.7867 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1949, allocations: 7.938 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001662/0.1951, allocations: 61.73 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1951, allocations: 4 kB / 0.7868 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1951, allocations: 7.984 kB / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.1952, allocations: 0 / 0.7868 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.1952, allocations: 8 kB / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1952, allocations: 0 / 0.7868 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.1953, allocations: 7.984 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.1953, allocations: 4.031 kB / 0.7868 GB, free: 9.793 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.904e-05/0.1954, allocations: 121.7 kB / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.1954, allocations: 0 / 0.787 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.1956, allocations: 72.78 kB / 0.787 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.1956, allocations: 3.984 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1956, allocations: 0 / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1956, allocations: 192 / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1958, allocations: 169.5 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1958, allocations: 0 / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.1958, allocations: 11.98 kB / 0.7872 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1958, allocations: 3.984 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.1959, allocations: 0 / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1959, allocations: 0 / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1959, allocations: 0 / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.1961, allocations: 171.4 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.1961, allocations: 77.11 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.1961, allocations: 0 / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.1962, allocations: 7.984 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1962, allocations: 8 kB / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.1962, allocations: 0 / 0.7875 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.1963, allocations: 79.28 kB / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1963, allocations: 0 / 0.7875 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001993/0.1965, allocations: 16.02 kB / 0.7876 GB, free: 8.961 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004387/0.1969, allocations: 0.6928 MB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001808/0.1971, allocations: 43.94 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1971, allocations: 0 / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.1972, allocations: 19.97 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.1975, allocations: 6.656 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.1978, allocations: 135 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001878/0.198, allocations: 0.6846 MB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.86e-05/0.198, allocations: 4 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.1981, allocations: 7.438 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1981, allocations: 0 / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9762/1.174, allocations: 1.243 MB / 0.7903 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.13, allocations: 3.5 kB / 0.7903 GB, free: 6.102 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)