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.Average.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.Average,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 303.3 MB, free: 8.152 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.0009698/0.0009697, allocations: 179.1 kB / 372 MB, free: 10.28 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.586/1.586, allocations: 205.4 MB / 0.6307 GB, free: 9.891 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.001073/0.001073, allocations: 95.17 kB / 0.744 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004344/0.0004346, allocations: 13.94 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.202, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.0007714/0.2028, allocations: 411.2 kB / 0.9801 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008169/0.2037, allocations: 0.8126 MB / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.2037, allocations: 0 / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.2037, allocations: 0 / 0.9809 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.43e-05/0.2038, allocations: 7.922 kB / 0.9809 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.009e-05/0.2039, allocations: 8 kB / 0.9809 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.505e-05/0.204, allocations: 35.91 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2041, allocations: 4 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.529e-05/0.2041, allocations: 19.92 kB / 0.9809 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.747e-05/0.2042, allocations: 19.92 kB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.2042, allocations: 4 kB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-06/0.2042, allocations: 0 / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2043, allocations: 11.92 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.848e-05/0.2043, allocations: 29.7 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.628e-05/0.2044, allocations: 31.92 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2044, allocations: 0 / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2044, allocations: 0 / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.2044, allocations: 4 kB / 0.981 GB, free: 26.11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004371/0.2048, allocations: 363.5 kB / 0.9814 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2049, allocations: 16.02 kB / 0.9814 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.2049, allocations: 34.55 kB / 0.9814 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.2049, allocations: 11.91 kB / 0.9814 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/0.205, allocations: 167 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.205, allocations: 0 / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.2051, allocations: 11.94 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.2053, allocations: 77.66 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.2053, allocations: 0 / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.2054, allocations: 0 / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.2054, allocations: 0 / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.2057, allocations: 87.92 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.206, allocations: 268.9 kB / 0.982 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.2062, allocations: 74.47 kB / 0.9821 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2064, allocations: 48.91 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.2064, allocations: 0 / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.2064, allocations: 34.56 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.2064, allocations: 4 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.00054/0.207, allocations: 161.5 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.207, allocations: 63.22 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.2071, allocations: 113.8 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.2071, allocations: 25.7 kB / 0.9825 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.2071, allocations: 84.14 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.2071, allocations: 7.906 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.2071, allocations: 4 kB / 0.9826 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.61e-05/0.2072, allocations: 318.8 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.2073, allocations: 39.97 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2075, allocations: 43.95 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.2076, allocations: 43.97 kB / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2076, allocations: 0 / 0.983 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003154/0.208, allocations: 121.5 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.208, allocations: 4 kB / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.208, allocations: 0 / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.208, allocations: 0 / 0.9832 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2082, allocations: 27.91 kB / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.2082, allocations: 0 / 0.9832 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.623e-05/0.2083, allocations: 23.98 kB / 0.9832 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.2083, allocations: 4 kB / 0.9832 GB, free: 23.64 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 (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 5.061e-05/0.2083, allocations: 109.8 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.2084, allocations: 4 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.2084, allocations: 11.89 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.2084, allocations: 0 / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2084, allocations: 4 kB / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2084, allocations: 0 / 0.9833 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.2085, allocations: 177.5 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2086, allocations: 0 / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.2087, allocations: 19.98 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2087, allocations: 0 / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.2087, allocations: 0 / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2087, allocations: 3.984 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2087, allocations: 4 kB / 0.9835 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.2091, allocations: 223.4 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.2091, allocations: 77.11 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.2092, allocations: 4 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.2093, allocations: 15.98 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.2094, allocations: 7.922 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2094, allocations: 4 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.2094, allocations: 91.27 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2094, allocations: 0 / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003078/0.2098, allocations: 11.91 kB / 0.9839 GB, free: 22.8 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 (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.0006768/0.2104, allocations: 0.7479 MB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.2109, allocations: 95.89 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2109, allocations: 4 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.2111, allocations: 47.95 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2114, allocations: 8 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.2117, allocations: 162.3 kB / 0.985 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.672e-05/0.2118, allocations: 0.6808 MB / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.386e-05/0.2119, allocations: 4 kB / 0.9856 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.2119, allocations: 7.438 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2119, allocations: 0 / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/0.2229, allocations: 1.314 MB / 0.9869 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/0.2231, allocations: 207.5 kB / 0.9871 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/1.735, allocations: 4 kB / 0.9871 GB, free: 19.56 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Average.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1)