Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.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.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 252 MB / 267.3 MB, free: 10.86 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.00107/0.00107, allocations: 177.1 kB / 327 MB, free: 2.094 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.706/1.706, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0007542/0.0007542, allocations: 88.23 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003533, allocations: 13.41 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.198, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.001527/0.1996, allocations: 1.094 MB / 0.902 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003041/0.1999, allocations: 124.5 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.2, allocations: 0 / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.2, allocations: 0 / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.846e-05/0.2001, allocations: 3.938 kB / 0.9021 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.2002, allocations: 7.984 kB / 0.9021 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.813e-05/0.2003, allocations: 27.92 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.2004, allocations: 4 kB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.2005, allocations: 15.92 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.791e-05/0.2005, allocations: 4 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.2005, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.2005, allocations: 0 / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.2006, allocations: 11.92 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.2006, allocations: 29.7 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.839e-05/0.2007, allocations: 19.89 kB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2007, allocations: 0 / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2007, allocations: 0 / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.2007, allocations: 0 / 0.9022 GB, free: 62.01 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003712/0.2011, allocations: 339.6 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2011, allocations: 12.03 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.2012, allocations: 30.75 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2012, allocations: 0.9375 kB / 0.9026 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.655e-05/0.2013, allocations: 172.6 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.2013, allocations: 384 / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.2013, allocations: 8.359 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.2015, allocations: 62.11 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2015, allocations: 3.938 kB / 0.9028 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.2015, allocations: 4 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2015, allocations: 0 / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.2017, allocations: 47.97 kB / 0.9029 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.202, allocations: 252.8 kB / 0.9031 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.2022, allocations: 46.5 kB / 0.9032 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.824e-05/0.2022, allocations: 32.84 kB / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.2023, allocations: 0 / 0.9032 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.2023, allocations: 30.56 kB / 0.9032 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.2023, allocations: 0 / 0.9032 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003668/0.2027, allocations: 97.64 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.2027, allocations: 55.41 kB / 0.9034 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.298e-05/0.2028, allocations: 101.8 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.2028, allocations: 29.83 kB / 0.9035 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.2028, allocations: 80.14 kB / 0.9036 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.2028, allocations: 3.906 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.2029, allocations: 8 kB / 0.9036 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.2029, allocations: 314.8 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.203, allocations: 19.92 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.218e-05/0.2031, allocations: 27.98 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.2032, allocations: 44.83 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2032, allocations: 4 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.2034, allocations: 77.66 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2035, allocations: 5.25 kB / 0.9041 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2035, allocations: 4 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2035, allocations: 0 / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.536e-05/0.2036, allocations: 16.02 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2036, allocations: 0 / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.2037, allocations: 11.92 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2037, allocations: 4 kB / 0.9041 GB, free: 59.87 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: 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 4.717e-05/0.2037, allocations: 113.8 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.2038, allocations: 3.906 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.204, allocations: 80.78 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.204, allocations: 0 / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.204, allocations: 4 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.204, allocations: 0 / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.2041, allocations: 165.6 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2041, allocations: 0 / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.073e-05/0.2042, allocations: 20.02 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2042, allocations: 0 / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2042, allocations: 3.938 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2042, allocations: 3.938 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.2042, allocations: 0 / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.2045, allocations: 179.4 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.195e-05/0.2045, allocations: 77.11 kB / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.2045, allocations: 0 / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.424e-05/0.2046, allocations: 15.98 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.2046, allocations: 192 / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.2046, allocations: 0 / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.856e-05/0.2047, allocations: 87.3 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2047, allocations: 0 / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002027/0.2049, allocations: 4 kB / 0.9048 GB, free: 59.03 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: 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.000417/0.2053, allocations: 0.7162 MB / 0.9055 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.2055, allocations: 48 kB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2055, allocations: 0 / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.2056, allocations: 23.98 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.2059, allocations: 7.984 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.2063, allocations: 138.4 kB / 0.9057 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.2064, allocations: 0.677 MB / 0.9064 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.2065, allocations: 0 / 0.9064 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.2065, allocations: 11.44 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of SimCode: time 3.31e-07/0.2065, allocations: 0 / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.2187, allocations: 1.032 MB / 0.9074 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.219, allocations: 206.3 kB / 0.9076 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/1.924, allocations: 0 / 0.9076 GB, free: 56.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)