Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.2 MB / 303.2 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001083, allocations: 183.7 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 0.6305 GB, free: 9.906 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009771/0.0009771, allocations: 102.8 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004037, allocations: 18.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2042, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.0007108/0.2049, allocations: 381.5 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006946/0.2056, allocations: 0.7911 MB / 0.9806 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.2057, allocations: 7.938 kB / 0.9806 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.2057, allocations: 7.922 kB / 0.9806 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/0.2058, allocations: 7.984 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.2059, allocations: 7.938 kB / 0.9807 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.518e-05/0.2059, allocations: 15.97 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.835e-05/0.206, allocations: 4 kB / 0.9807 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.557e-05/0.206, allocations: 11.94 kB / 0.9807 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.081e-05/0.2061, allocations: 3.984 kB / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.2061, allocations: 0 / 0.9807 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.2061, allocations: 8 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.624e-06/0.2061, allocations: 0 / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.2062, allocations: 29.7 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.178e-05/0.2062, allocations: 15.91 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.2062, allocations: 0 / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2062, allocations: 0 / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.2062, allocations: 0 / 0.9807 GB, free: 26.27 MB / 0.6198 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.0003355/0.2066, allocations: 343.5 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2066, allocations: 16.02 kB / 0.9811 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.328e-05/0.2066, allocations: 34.56 kB / 0.9811 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.2067, allocations: 3.984 kB / 0.9811 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.24e-05/0.2067, allocations: 163 kB / 0.9813 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2067, allocations: 4 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.2068, allocations: 0 / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.2069, allocations: 53.67 kB / 0.9813 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.2069, allocations: 4 kB / 0.9813 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.207, allocations: 0 / 0.9813 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.207, allocations: 3.984 kB / 0.9813 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.2071, allocations: 43.91 kB / 0.9814 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.2074, allocations: 256.9 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.2075, allocations: 42.56 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2075, allocations: 0 / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.2075, allocations: 30.56 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.2075, allocations: 4 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003058/0.2078, allocations: 101.5 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.763e-05/0.2079, allocations: 59.53 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.087e-05/0.2079, allocations: 101.8 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-06/0.2079, allocations: 29.64 kB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.979e-05/0.2079, allocations: 80.14 kB / 0.9821 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.139e-05/0.208, allocations: 3.906 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.208, allocations: 4 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.208, allocations: 318.8 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-05/0.2081, allocations: 23.97 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.865e-05/0.2082, allocations: 27.92 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.446e-05/0.2083, allocations: 15.98 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2083, allocations: 0 / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001696/0.2084, allocations: 85.66 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.2085, allocations: 4 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2085, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2085, allocations: 0 / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.24e-05/0.2086, allocations: 16.02 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2086, allocations: 0 / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.2086, allocations: 12 kB / 0.9825 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.2086, allocations: 0 / 0.9825 GB, free: 24.2 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.2087, allocations: 114.8 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.2087, allocations: 4 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.2089, allocations: 88.72 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2089, allocations: 0 / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2089, allocations: 0 / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2089, allocations: 0 / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.93e-05/0.2091, allocations: 161.6 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2091, allocations: 3.984 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.2091, allocations: 12.03 kB / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2091, allocations: 0 / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.2091, allocations: 0 / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2091, allocations: 8 kB / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2091, allocations: 0 / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.2093, allocations: 179.4 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.2094, allocations: 81.09 kB / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.2094, allocations: 0 / 0.9832 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.2095, allocations: 8 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.2095, allocations: 7.922 kB / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2095, allocations: 0 / 0.9832 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.983e-05/0.2095, allocations: 87.25 kB / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2095, allocations: 0 / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002097/0.2098, allocations: 4 kB / 0.9833 GB, free: 23.36 MB / 0.6198 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 (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.0003434/0.2101, allocations: 0.7085 MB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000181/0.2103, allocations: 51.95 kB / 0.984 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2103, allocations: 4.094 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.2104, allocations: 23.92 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.2106, allocations: 4 kB / 0.984 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.2109, allocations: 130.5 kB / 0.9842 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.211, allocations: 0.6849 MB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.2111, allocations: 0 / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.2111, allocations: 11.44 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2111, allocations: 0 / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.2218, allocations: 0.9972 MB / 0.9858 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.222, allocations: 202.5 kB / 0.986 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.692, allocations: 0 / 0.986 GB, free: 20.56 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Cos.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)