Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.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.Average,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.001012/0.001012, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001076/0.001077, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.061/2.061, allocations: 292.6 MB / 0.5497 GB, free: 14.65 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.0005264/0.0005265, allocations: 17.78 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2399, allocations: 116.3 MB / 0.7873 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0008357/0.2408, allocations: 428.9 kB / 0.7877 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000822/0.2416, allocations: 0.7988 MB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.2417, allocations: 0 / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.2417, allocations: 0 / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.545e-05/0.2417, allocations: 11.92 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.739e-05/0.2418, allocations: 11.98 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.2419, allocations: 19.97 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.242, allocations: 12 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.836e-05/0.242, allocations: 15.92 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.2421, allocations: 19.92 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.2421, allocations: 0 / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.2421, allocations: 4 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.2421, allocations: 3.984 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.2422, allocations: 29.7 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.449e-05/0.2422, allocations: 35.86 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2422, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2422, allocations: 4 kB / 0.7886 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2422, allocations: 0 / 0.7886 GB, free: 10.46 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.0004673/0.2427, allocations: 363.5 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2428, allocations: 8.031 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.521e-05/0.2428, allocations: 42.55 kB / 0.789 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.277e-05/0.2428, allocations: 7.906 kB / 0.789 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.243, allocations: 171 kB / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.243, allocations: 0 / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.243, allocations: 0 / 0.7892 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.2432, allocations: 81.66 kB / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.2432, allocations: 0 / 0.7893 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2433, allocations: 3.984 kB / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2433, allocations: 0 / 0.7893 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.2436, allocations: 87.88 kB / 0.7893 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2439, allocations: 268.9 kB / 0.7896 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.2441, allocations: 66.53 kB / 0.7897 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.497e-06/0.2441, allocations: 0 / 0.7897 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.2441, allocations: 34.56 kB / 0.7897 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.2441, allocations: 0 / 0.7897 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005207/0.2447, allocations: 169.5 kB / 0.7899 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.2447, allocations: 55.41 kB / 0.7899 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.843e-05/0.2448, allocations: 109.8 kB / 0.79 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.2448, allocations: 25.7 kB / 0.79 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.191e-05/0.2448, allocations: 84.14 kB / 0.7901 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.2449, allocations: 11.84 kB / 0.7901 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.2449, allocations: 4 kB / 0.7901 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.245, allocations: 322.8 kB / 0.7904 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2451, allocations: 39.97 kB / 0.7905 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.2453, allocations: 43.97 kB / 0.7905 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.2455, allocations: 39.95 kB / 0.7906 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.2455, allocations: 8 kB / 0.7906 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003181/0.2459, allocations: 121.8 kB / 0.7907 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2459, allocations: 8 kB / 0.7907 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2459, allocations: 0 / 0.7907 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.2459, allocations: 0 / 0.7907 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.246, allocations: 20.03 kB / 0.7907 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.246, allocations: 3.984 kB / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.2461, allocations: 23.97 kB / 0.7907 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.2461, allocations: 0 / 0.7907 GB, free: 8.059 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.2462, allocations: 113.8 kB / 0.7908 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.2463, allocations: 4 kB / 0.7908 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.2463, allocations: 3.906 kB / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.2463, allocations: 0 / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2463, allocations: 0 / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2463, allocations: 4 kB / 0.7909 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.2465, allocations: 177.4 kB / 0.791 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2465, allocations: 8 kB / 0.791 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.2466, allocations: 19.92 kB / 0.7911 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2466, allocations: 4 kB / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2466, allocations: 0 / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2466, allocations: 0 / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2467, allocations: 4 kB / 0.7911 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.247, allocations: 223.4 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.2471, allocations: 77.11 kB / 0.7913 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.2471, allocations: 0 / 0.7913 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2472, allocations: 15.98 kB / 0.7914 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.2472, allocations: 7.984 kB / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.2472, allocations: 7.938 kB / 0.7914 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.2473, allocations: 83.28 kB / 0.7915 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2473, allocations: 4 kB / 0.7915 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002123/0.2475, allocations: 7.906 kB / 0.7915 GB, free: 7.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 (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.0006277/0.2481, allocations: 0.7553 MB / 0.7922 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.2485, allocations: 91.92 kB / 0.7923 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2485, allocations: 0 / 0.7923 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.2487, allocations: 59.83 kB / 0.7923 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.2489, allocations: 4 kB / 0.7924 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.2493, allocations: 162.3 kB / 0.7925 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.2495, allocations: 0.6809 MB / 0.7932 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.2495, allocations: 0 / 0.7932 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.2496, allocations: 19.42 kB / 0.7932 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2496, allocations: 0 / 0.7932 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.2789, allocations: 1.27 MB / 0.7944 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/0.2794, allocations: 194.5 kB / 0.7946 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.094, allocations: 0 / 0.7946 GB, free: 3.973 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) Environment - environmentSimulation: