Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",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.001446/0.001446, allocations: 101.4 kB / 15.7 MB, free: 28 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.001704/0.001704, allocations: 195.6 kB / 16.64 MB, free: 6.438 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.443/1.443, allocations: 205.1 MB / 222.5 MB, free: 4.547 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 2.022/2.022, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001414/0.001414, allocations: 74.83 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2347, allocations: 114.5 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002116/0.2369, allocations: 0.7136 MB / 0.7844 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.2379, allocations: 0.8049 MB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.238, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.238, allocations: 3.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.694e-05/0.2381, allocations: 3.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001101/0.2382, allocations: 15.98 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.653e-05/0.2383, allocations: 47.84 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2384, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.2385, allocations: 23.92 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.2385, allocations: 19.91 kB / 0.7853 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.2386, allocations: 4 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.2386, allocations: 4 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.2386, allocations: 11.92 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.2387, allocations: 23.92 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2388, allocations: 35.88 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2388, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2388, allocations: 0 / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.2388, allocations: 0 / 0.7853 GB, free: 11.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005632/0.2394, allocations: 363.6 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.2394, allocations: 8.031 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.2395, allocations: 42.73 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.2395, allocations: 4.938 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2397, allocations: 184.1 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2397, allocations: 384 / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.2397, allocations: 4.375 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.24, allocations: 70.22 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.24, allocations: 3.938 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.24, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.24, allocations: 3.984 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.2403, allocations: 67.92 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.2407, allocations: 272.8 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.2409, allocations: 50.53 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.2411, allocations: 44.92 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.2411, allocations: 3.984 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.2411, allocations: 34.55 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.2411, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005476/0.2417, allocations: 137.4 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.2417, allocations: 55.41 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.2418, allocations: 105.8 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2419, allocations: 25.7 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.2419, allocations: 92.12 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.2419, allocations: 3.906 kB / 0.7868 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.242, allocations: 17.72 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2421, allocations: 314.8 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.2422, allocations: 31.95 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2424, allocations: 31.97 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.2427, allocations: 72.72 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2427, allocations: 0 / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000315/0.243, allocations: 101.5 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.243, allocations: 8.938 kB / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.243, allocations: 0 / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.243, allocations: 0 / 0.7874 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2432, allocations: 23.97 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2432, allocations: 0 / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.2433, allocations: 11.98 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2433, allocations: 4 kB / 0.7874 GB, free: 9.133 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 (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 prepare postOptimizeDAE: time 7.149e-05/0.2434, allocations: 109.8 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.2434, allocations: 4 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.2438, allocations: 117.3 kB / 0.7876 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2438, allocations: 4 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2438, allocations: 0 / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2438, allocations: 3.984 kB / 0.7877 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.244, allocations: 169.6 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.244, allocations: 0 / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.2441, allocations: 11.98 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.2441, allocations: 4 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.2441, allocations: 4.375 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2441, allocations: 0 / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2441, allocations: 0 / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.2445, allocations: 207.3 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.2446, allocations: 77.11 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.2446, allocations: 8 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2447, allocations: 7.984 kB / 0.7881 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.2447, allocations: 11.92 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.2448, allocations: 0 / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.2448, allocations: 91.27 kB / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2448, allocations: 0 / 0.7882 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002082/0.245, allocations: 4 kB / 0.7882 GB, free: 8.211 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 (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.0006711/0.2457, allocations: 0.7318 MB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003291/0.2461, allocations: 79.86 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2461, allocations: 0 / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.2462, allocations: 35.95 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2465, allocations: 4 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.247, allocations: 151.1 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.2473, allocations: 0.6846 MB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.148e-05/0.2473, allocations: 4 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.2474, allocations: 15.42 kB / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2474, allocations: 0 / 0.7899 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01765/0.265, allocations: 1.603 MB / 0.7915 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.812, allocations: 14.12 kB / 0.7915 GB, free: 4.891 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1)