Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",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.000781/0.0007811, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008751/0.0008752, allocations: 168.7 kB / 15.95 MB, free: 204 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.248/1.248, allocations: 205.4 MB / 222.1 MB, free: 5.395 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.589/1.589, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005032/0.0005033, allocations: 19.03 kB / 0.6739 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1822, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0006337/0.1829, allocations: 386.7 kB / 0.7878 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001046/0.183, allocations: 19.84 kB / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.183, allocations: 0 / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.962e-05/0.1831, allocations: 0 / 0.7878 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.779e-05/0.1831, allocations: 4 kB / 0.7878 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.392e-05/0.1832, allocations: 8 kB / 0.7878 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.207e-05/0.1833, allocations: 23.92 kB / 0.7878 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.1834, allocations: 27.98 kB / 0.7879 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.703e-05/0.1834, allocations: 11.94 kB / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.485e-05/0.1834, allocations: 7.922 kB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.1834, allocations: 0 / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.1835, allocations: 4 kB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.1835, allocations: 3.938 kB / 0.7879 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.1835, allocations: 37.7 kB / 0.7879 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.203e-05/0.1836, allocations: 31.92 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1836, allocations: 4 kB / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1836, allocations: 0 / 0.788 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.016e-06/0.1836, allocations: 0 / 0.788 GB, free: 11.24 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002458/0.1838, allocations: 343.5 kB / 0.7883 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.1839, allocations: 8.031 kB / 0.7883 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.72e-05/0.1839, allocations: 30.56 kB / 0.7883 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.1839, allocations: 11.91 kB / 0.7883 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1841, allocations: 190.8 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-06/0.1841, allocations: 4 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.1841, allocations: 4 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1842, allocations: 81.66 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1842, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.1842, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1842, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.992e-05/0.1843, allocations: 47.97 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.1847, allocations: 487.1 kB / 0.7891 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.866e-05/0.1848, allocations: 173.1 kB / 0.7893 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.148e-05/0.1848, allocations: 80.14 kB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.1848, allocations: 75.28 kB / 0.7894 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1849, allocations: 109.8 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.1849, allocations: 4 kB / 0.7895 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 5.945e-05/0.1849, allocations: 37.61 kB / 0.7896 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.185, allocations: 126.7 kB / 0.7897 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.1851, allocations: 176.8 kB / 0.7899 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-06/0.1851, allocations: 25.7 kB / 0.7899 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.1852, allocations: 96.05 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-06/0.1852, allocations: 112 / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-06/0.1852, allocations: 7.875 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.1853, allocations: 326.8 kB / 0.7903 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.1853, allocations: 4 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.343e-05/0.1853, allocations: 15.98 kB / 0.7903 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.1853, allocations: 4 kB / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1853, allocations: 0 / 0.7903 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.492e-05/0.1854, allocations: 53.58 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1855, allocations: 8 kB / 0.7904 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1855, allocations: 3.953 kB / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.1855, allocations: 0 / 0.7904 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.097e-05/0.1855, allocations: 8.094 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.1855, allocations: 0 / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.1856, allocations: 7.938 kB / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.1856, allocations: 0 / 0.7904 GB, free: 8.508 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 (1): * Single equations (assignments): 1 * 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 7.629e-05/0.1857, allocations: 193.1 kB / 0.7906 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.1857, allocations: 112.8 kB / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.016e-05/0.1858, allocations: 116.8 kB / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.051e-05/0.1858, allocations: 188.2 kB / 0.791 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.109e-05/0.1858, allocations: 180.3 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-05/0.1859, allocations: 176.3 kB / 0.7913 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1861, allocations: 421.1 kB / 0.7917 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/0.1861, allocations: 106 kB / 0.7918 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.1861, allocations: 108.9 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-05/0.1862, allocations: 180.3 kB / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.1862, allocations: 176.3 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.382e-05/0.1863, allocations: 180.2 kB / 0.7924 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.236e-05/0.1863, allocations: 188.2 kB / 0.7926 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.348e-05/0.1864, allocations: 307.8 kB / 0.7929 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.1865, allocations: 198.2 kB / 0.7931 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.133e-05/0.1866, allocations: 180.2 kB / 0.7933 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.1866, allocations: 113 kB / 0.7934 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/0.1867, allocations: 184.2 kB / 0.7936 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.1867, allocations: 101 kB / 0.7937 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.029e-05/0.1868, allocations: 135.2 kB / 0.7938 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1868, allocations: 4 kB / 0.7938 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001992/0.187, allocations: 4 kB / 0.7938 GB, free: 4.805 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 (0): * Single equations (assignments): 0 * 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.000305/0.1873, allocations: 0.8203 MB / 0.7946 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.981e-05/0.1874, allocations: 8 kB / 0.7946 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1874, allocations: 0 / 0.7946 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.1874, allocations: 3.984 kB / 0.7946 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.1877, allocations: 0.5262 MB / 0.7951 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.1884, allocations: 0.5848 MB / 0.7957 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/0.1885, allocations: 0.6965 MB / 0.7964 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.003e-05/0.1886, allocations: 4 kB / 0.7964 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.1886, allocations: 19.44 kB / 0.7964 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.1886, allocations: 0 / 0.7964 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05691/0.2455, allocations: 1.391 MB / 0.7978 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003447/0.2459, allocations: 204.7 kB / 0.7979 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.117, allocations: 0 / 0.7979 GB, free: 0.5312 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) Environment - environmentSimulation: