Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.453/1.453, allocations: 287.4 MB / 302.6 MB, free: 8.254 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.0008229/0.0008228, allocations: 179.4 kB / 371.1 MB, free: 10.84 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.19/1.19, allocations: 205.4 MB / 0.6298 GB, free: 10.61 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.000718/0.000718, allocations: 82.36 kB / 0.7431 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 15.14 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1703, allocations: 115.3 MB / 0.9788 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.0006175/0.171, allocations: 422.9 kB / 0.9792 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006203/0.1716, allocations: 0.7971 MB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.1717, allocations: 0 / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.1717, allocations: 0 / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.268e-05/0.1718, allocations: 7.922 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.795e-05/0.1718, allocations: 11.98 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.692e-05/0.1719, allocations: 39.84 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.524e-05/0.172, allocations: 15.94 kB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/0.172, allocations: 15.92 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.77e-05/0.1721, allocations: 15.92 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1721, allocations: 4 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.1721, allocations: 0 / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.1721, allocations: 7.984 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.674e-05/0.1722, allocations: 33.64 kB / 0.9801 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.463e-05/0.1722, allocations: 31.92 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1722, allocations: 0 / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1722, allocations: 8 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.1722, allocations: 0 / 0.9801 GB, free: 26.66 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.0003396/0.1726, allocations: 359.7 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1726, allocations: 12.03 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.189e-05/0.1726, allocations: 34.69 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.911e-05/0.1727, allocations: 8.844 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.948e-05/0.1727, allocations: 176.3 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1728, allocations: 4.375 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.1728, allocations: 4.375 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.173, allocations: 74.22 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.173, allocations: 7.938 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.173, allocations: 4 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.173, allocations: 0 / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002454/0.1733, allocations: 87.86 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.1735, allocations: 268.8 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1737, allocations: 66.64 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.1738, allocations: 48.81 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.1738, allocations: 4 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.1738, allocations: 38.5 kB / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.1739, allocations: 0 / 0.9813 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004491/0.1743, allocations: 161.6 kB / 0.9814 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.1743, allocations: 55.41 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.552e-05/0.1744, allocations: 105.8 kB / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.1744, allocations: 29.7 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/0.1744, allocations: 84.14 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.1744, allocations: 7.812 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/0.1745, allocations: 0 / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.679e-05/0.1745, allocations: 326.8 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1746, allocations: 39.97 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1747, allocations: 47.89 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.175, allocations: 97 kB / 0.9822 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.175, allocations: 4 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000271/0.1753, allocations: 121.6 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1753, allocations: 6.188 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.1753, allocations: 0 / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.1753, allocations: 0 / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1754, allocations: 23.98 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1754, allocations: 0 / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.97e-05/0.1755, allocations: 19.98 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1755, allocations: 0 / 0.9823 GB, free: 24.15 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 4.209e-05/0.1756, allocations: 129.7 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.1756, allocations: 3.906 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.1759, allocations: 129.5 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1759, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1759, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1759, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.176, allocations: 177.5 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.176, allocations: 4 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.591e-05/0.1761, allocations: 23.97 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1761, allocations: 0 / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1761, allocations: 0 / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1762, allocations: 4 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1762, allocations: 0 / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.1764, allocations: 223.4 kB / 0.983 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.1765, allocations: 85 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.1765, allocations: 0 / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-05/0.1766, allocations: 15.98 kB / 0.9831 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.1766, allocations: 8 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.1766, allocations: 0 / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.242e-05/0.1767, allocations: 87.27 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1767, allocations: 4 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001777/0.1768, allocations: 8 kB / 0.9832 GB, free: 23.17 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.0004247/0.1773, allocations: 0.7514 MB / 0.9839 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002736/0.1776, allocations: 91.86 kB / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1776, allocations: 0 / 0.984 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.1777, allocations: 47.97 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.1779, allocations: 7.984 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.1783, allocations: 166.2 kB / 0.9842 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.312e-05/0.1783, allocations: 0.677 MB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.798e-05/0.1784, allocations: 8.359 kB / 0.9849 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.1784, allocations: 11.44 kB / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.1784, allocations: 0 / 0.9849 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08492/0.2634, allocations: 1.28 MB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001274/0.2635, allocations: 183.4 kB / 0.9863 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/1.996, allocations: 1.266 kB / 0.9863 GB, free: 19.95 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)