Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.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.Max,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001393/0.001393, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.241/1.241, allocations: 205.1 MB / 222.1 MB, free: 4.727 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 1.583/1.583, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.001353/0.001353, allocations: 71.92 kB / 0.6711 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1803, allocations: 114.5 MB / 0.783 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002044/0.1824, allocations: 0.7711 MB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007886/0.1832, allocations: 0.8049 MB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.1832, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.1833, allocations: 3.938 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.1834, allocations: 11.88 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.617e-05/0.1835, allocations: 11.98 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.777e-05/0.1835, allocations: 39.92 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.503e-05/0.1836, allocations: 7.984 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.999e-05/0.1837, allocations: 23.92 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.1838, allocations: 19.91 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1838, allocations: 4 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.1838, allocations: 8 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.1838, allocations: 7.984 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.1839, allocations: 19.88 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.273e-05/0.1839, allocations: 39.81 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1839, allocations: 0 / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1839, allocations: 0 / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.184, allocations: 0 / 0.7847 GB, free: 12 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.0004637/0.1844, allocations: 367.6 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1845, allocations: 12.03 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.1845, allocations: 38.75 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.114e-05/0.1845, allocations: 4.875 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1847, allocations: 176.2 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1847, allocations: 4.359 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.1847, allocations: 384 / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.1849, allocations: 70.22 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1849, allocations: 3.938 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1849, allocations: 0 / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1849, allocations: 4 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002641/0.1852, allocations: 63.92 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.1856, allocations: 272.8 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1858, allocations: 54.55 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.1859, allocations: 40.91 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1859, allocations: 3.984 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.186, allocations: 30.56 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.186, allocations: 0 / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004879/0.1865, allocations: 137.4 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1865, allocations: 55.41 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.1866, allocations: 109.8 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.1866, allocations: 25.7 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.1866, allocations: 92.14 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.1867, allocations: 3.906 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.1867, allocations: 17.72 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.1868, allocations: 314.8 kB / 0.7865 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.187, allocations: 27.97 kB / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.1871, allocations: 35.95 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.1873, allocations: 68.73 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1874, allocations: 3.984 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002853/0.1876, allocations: 101.5 kB / 0.7868 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1877, allocations: 8 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1877, allocations: 4 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.1877, allocations: 0 / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1878, allocations: 19.98 kB / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.1878, allocations: 0 / 0.7868 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.146e-05/0.1879, allocations: 7.984 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1879, allocations: 4 kB / 0.7868 GB, free: 9.625 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 6.247e-05/0.188, allocations: 117.7 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.188, allocations: 8 kB / 0.7869 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.1883, allocations: 109.4 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1884, allocations: 4 kB / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1884, allocations: 0 / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.1884, allocations: 0 / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1885, allocations: 169.6 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1885, allocations: 4 kB / 0.7872 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.839e-05/0.1886, allocations: 19.97 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1886, allocations: 4 kB / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.1886, allocations: 0 / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1886, allocations: 0 / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1887, allocations: 0 / 0.7872 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.189, allocations: 203.3 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.189, allocations: 81.52 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.189, allocations: 4 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.1891, allocations: 7.984 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1892, allocations: 8 kB / 0.7875 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1892, allocations: 3.938 kB / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.1892, allocations: 87.27 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1892, allocations: 0 / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002056/0.1895, allocations: 12 kB / 0.7876 GB, free: 8.695 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.0006012/0.1901, allocations: 0.7318 MB / 0.7883 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.1904, allocations: 75.86 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1904, allocations: 0 / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1905, allocations: 35.95 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1908, allocations: 4 kB / 0.7884 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.1912, allocations: 163.1 kB / 0.7886 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1915, allocations: 0.6807 MB / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.1915, allocations: 4 kB / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.1915, allocations: 11.44 kB / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.1916, allocations: 4 kB / 0.7893 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1853/0.3769, allocations: 1.421 MB / 0.7907 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.3771, allocations: 217.6 kB / 0.7909 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.447, allocations: 0 / 0.7909 GB, free: 5.328 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)