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.0008425/0.0008426, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.004572/0.004572, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.38/1.38, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.671/1.671, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0005218/0.0005219, allocations: 18.44 kB / 0.6744 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2012, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.000738/0.202, allocations: 398.7 kB / 0.7884 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001114/0.2021, allocations: 8 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.699e-05/0.2022, allocations: 3.938 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.517e-05/0.2023, allocations: 4 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.112e-05/0.2023, allocations: 0 / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.669e-05/0.2024, allocations: 0 / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.881e-05/0.2024, allocations: 27.92 kB / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2026, allocations: 31.97 kB / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.2026, allocations: 11.94 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.746e-05/0.2026, allocations: 7.922 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2027, allocations: 3.938 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.2027, allocations: 4 kB / 0.7885 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.2027, allocations: 4 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.2028, allocations: 41.58 kB / 0.7885 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.484e-05/0.2028, allocations: 43.8 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2028, allocations: 0 / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.582e-06/0.2029, allocations: 0 / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2029, allocations: 4 kB / 0.7886 GB, free: 10.87 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.0003174/0.2032, allocations: 339.7 kB / 0.7889 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2032, allocations: 8.031 kB / 0.7889 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.2033, allocations: 38.75 kB / 0.7889 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.2033, allocations: 8.844 kB / 0.789 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.2035, allocations: 188.2 kB / 0.7891 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2035, allocations: 4.375 kB / 0.7891 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.2036, allocations: 4.375 kB / 0.7891 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.2037, allocations: 78.16 kB / 0.7892 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.2038, allocations: 7.875 kB / 0.7892 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2038, allocations: 8 kB / 0.7892 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2038, allocations: 3.984 kB / 0.7892 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.2039, allocations: 43.97 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005573/0.2044, allocations: 487.1 kB / 0.7897 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.2045, allocations: 169.1 kB / 0.7899 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.2046, allocations: 88.02 kB / 0.79 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.2046, allocations: 75.28 kB / 0.7901 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.2047, allocations: 117.9 kB / 0.7902 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.2047, allocations: 0 / 0.7902 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.287e-05/0.2048, allocations: 29.7 kB / 0.7902 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.2048, allocations: 130.6 kB / 0.7903 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.205, allocations: 180.7 kB / 0.7905 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.205, allocations: 25.7 kB / 0.7905 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.2051, allocations: 96.08 kB / 0.7906 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/0.2051, allocations: 0 / 0.7906 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-05/0.2051, allocations: 9.719 kB / 0.7906 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2053, allocations: 322.8 kB / 0.7909 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.2053, allocations: 7.938 kB / 0.7909 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.2053, allocations: 7.984 kB / 0.7909 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.2053, allocations: 16.86 kB / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2053, allocations: 0 / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001182/0.2055, allocations: 53.58 kB / 0.791 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.2055, allocations: 8 kB / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2055, allocations: 96 / 0.791 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2055, allocations: 4 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.2056, allocations: 7.938 kB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2056, allocations: 0 / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.2056, allocations: 4.109 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.2056, allocations: 3.938 kB / 0.791 GB, free: 8.109 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.2057, allocations: 203.9 kB / 0.7912 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.2058, allocations: 104.9 kB / 0.7913 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.281e-05/0.2059, allocations: 116.8 kB / 0.7914 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.915e-05/0.2059, allocations: 192.1 kB / 0.7916 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.976e-05/0.206, allocations: 176.3 kB / 0.7918 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.349e-05/0.206, allocations: 180.2 kB / 0.792 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.2063, allocations: 422.2 kB / 0.7924 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/0.2063, allocations: 105 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.2063, allocations: 112.9 kB / 0.7926 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-05/0.2064, allocations: 176.3 kB / 0.7927 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.2065, allocations: 180.2 kB / 0.7929 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.364e-05/0.2065, allocations: 188.2 kB / 0.7931 GB, free: 5.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-05/0.2066, allocations: 180.3 kB / 0.7933 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.2067, allocations: 315.9 kB / 0.7936 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/0.2068, allocations: 194 kB / 0.7938 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.525e-05/0.2069, allocations: 180.3 kB / 0.7939 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.207, allocations: 108.9 kB / 0.794 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.207, allocations: 184.2 kB / 0.7942 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.2071, allocations: 104.9 kB / 0.7943 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.14e-05/0.2072, allocations: 139.1 kB / 0.7944 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2072, allocations: 0 / 0.7944 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00021/0.2074, allocations: 4 kB / 0.7944 GB, free: 4.395 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 (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.0003811/0.2078, allocations: 0.8154 MB / 0.7952 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.639e-05/0.2078, allocations: 7.984 kB / 0.7952 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2078, allocations: 4 kB / 0.7953 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.894e-06/0.2078, allocations: 0 / 0.7953 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.2083, allocations: 0.5291 MB / 0.7958 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2095, allocations: 1.592 MB / 0.7973 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.2097, allocations: 0.6926 MB / 0.798 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.526e-05/0.2097, allocations: 7.984 kB / 0.798 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.2098, allocations: 15.44 kB / 0.798 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.2098, allocations: 0 / 0.798 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01/0.2198, allocations: 1.41 MB / 0.7994 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/0.22, allocations: 219.8 kB / 0.7996 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/1.796, allocations: 0 / 0.7996 GB, free: 15.04 MB / 0.6231 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/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)