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.000937/0.000937, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000994/0.000994, allocations: 196.7 kB / 16.14 MB, free: 6.707 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.231/1.231, allocations: 205.1 MB / 222 MB, free: 4.953 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.535/1.535, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001533/0.001533, allocations: 74.34 kB / 0.6709 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1788, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.00151/0.1803, allocations: 0.7788 MB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006468/0.181, allocations: 0.8048 MB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.181, allocations: 4 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.1811, allocations: 0 / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.1811, allocations: 7.938 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.148e-05/0.1812, allocations: 7.984 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.884e-05/0.1812, allocations: 35.92 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.627e-05/0.1813, allocations: 19.97 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.1813, allocations: 15.92 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.1814, allocations: 19.86 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1814, allocations: 8 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-06/0.1814, allocations: 4 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1814, allocations: 7.938 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.1814, allocations: 15.92 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.163e-05/0.1815, allocations: 39.86 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1815, allocations: 0 / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.81e-07/0.1815, allocations: 0 / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.275e-06/0.1815, allocations: 0 / 0.7845 GB, free: 12.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.0004688/0.182, allocations: 371.6 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.671e-05/0.182, allocations: 8.031 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.552e-05/0.1821, allocations: 34.75 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.592e-05/0.1821, allocations: 4.938 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1822, allocations: 168.2 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.94e-06/0.1822, allocations: 8.312 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-06/0.1822, allocations: 384 / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.1825, allocations: 70.2 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.1825, allocations: 11.88 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.1825, allocations: 4 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-06/0.1825, allocations: 0 / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.1828, allocations: 63.92 kB / 0.7852 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.1831, allocations: 260.9 kB / 0.7855 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1833, allocations: 58.53 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.1834, allocations: 44.84 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1834, allocations: 4 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.1835, allocations: 30.56 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1835, allocations: 4 kB / 0.7856 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004752/0.1839, allocations: 125.5 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.184, allocations: 55.39 kB / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.1841, allocations: 105.9 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1841, allocations: 25.7 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.1841, allocations: 96.06 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.1841, allocations: 7.906 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.1842, allocations: 13.72 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/0.1843, allocations: 318.8 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1845, allocations: 31.91 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.1846, allocations: 31.97 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.1848, allocations: 72.72 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1848, allocations: 0 / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002834/0.1851, allocations: 105.5 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1851, allocations: 4 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1851, allocations: 0 / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1852, allocations: 4 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1853, allocations: 15.98 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.1853, allocations: 0 / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.1854, allocations: 16.25 kB / 0.7866 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1854, allocations: 4 kB / 0.7866 GB, free: 9.75 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.566e-05/0.1854, allocations: 117.8 kB / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.1855, allocations: 3.984 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.1858, allocations: 113.4 kB / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1858, allocations: 3.938 kB / 0.7868 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1858, allocations: 0 / 0.7868 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1858, allocations: 0 / 0.7868 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.186, allocations: 169.6 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.186, allocations: 4 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-05/0.1861, allocations: 19.97 kB / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1861, allocations: 0 / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1861, allocations: 0 / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1862, allocations: 0 / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1862, allocations: 7.938 kB / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1865, allocations: 199.3 kB / 0.7872 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.1865, allocations: 77.11 kB / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1865, allocations: 0 / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1866, allocations: 15.97 kB / 0.7873 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.1867, allocations: 4 kB / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1867, allocations: 0 / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.1867, allocations: 87.27 kB / 0.7874 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1867, allocations: 4 kB / 0.7874 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002022/0.187, allocations: 8 kB / 0.7874 GB, free: 8.828 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.0005767/0.1875, allocations: 0.7357 MB / 0.7881 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.1878, allocations: 67.92 kB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1878, allocations: 3.938 kB / 0.7882 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.188, allocations: 35.97 kB / 0.7882 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.1882, allocations: 13.67 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.1886, allocations: 164.8 kB / 0.7884 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.1888, allocations: 0.6848 MB / 0.7891 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.1889, allocations: 0 / 0.7891 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.1889, allocations: 19.44 kB / 0.7891 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.1889, allocations: 0 / 0.7891 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3328/0.5218, allocations: 1.357 MB / 0.7904 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.522, allocations: 212.2 kB / 0.7906 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.402, allocations: 0 / 0.7906 GB, free: 5.496 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)