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.001192/0.001192, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001306, allocations: 194.7 kB / 16.64 MB, free: 6.453 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.856/1.856, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001555/0.001556, allocations: 72.05 kB / 0.6718 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2403, allocations: 114.6 MB / 0.7837 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002032/0.2424, allocations: 0.6554 MB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001512/0.2426, allocations: 15.97 kB / 0.7843 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.2426, allocations: 4 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.357e-05/0.2427, allocations: 3.938 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.252e-05/0.2428, allocations: 0 / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.013e-05/0.2429, allocations: 4 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.419e-05/0.243, allocations: 27.86 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.2431, allocations: 35.98 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.843e-05/0.2432, allocations: 11.92 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.281e-05/0.2432, allocations: 11.94 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2432, allocations: 4 kB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.2432, allocations: 0 / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.2433, allocations: 15.97 kB / 0.7844 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.2433, allocations: 27.88 kB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.802e-05/0.2434, allocations: 47.81 kB / 0.7845 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2434, allocations: 0 / 0.7845 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2435, allocations: 0 / 0.7845 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.2435, allocations: 0 / 0.7845 GB, free: 12.37 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.000379/0.2438, allocations: 351.5 kB / 0.7848 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2439, allocations: 11.97 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.2439, allocations: 38.73 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.244e-05/0.244, allocations: 0.9375 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.2441, allocations: 184.2 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.2442, allocations: 8.375 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.2442, allocations: 8.375 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2443, allocations: 70.23 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2444, allocations: 7.875 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2444, allocations: 0 / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.2444, allocations: 4 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.2445, allocations: 51.91 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004977/0.245, allocations: 491.1 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.024e-05/0.2451, allocations: 173.1 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/0.2451, allocations: 84.14 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2451, allocations: 75.28 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.2452, allocations: 109.8 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.2452, allocations: 4 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.852e-05/0.2453, allocations: 37.55 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.2454, allocations: 130.6 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2455, allocations: 168.5 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2456, allocations: 29.7 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.2456, allocations: 96.06 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.049e-06/0.2456, allocations: 4 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.2457, allocations: 13.72 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2458, allocations: 318.8 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.2458, allocations: 11.98 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.2458, allocations: 7.984 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.887e-05/0.2459, allocations: 12.86 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2459, allocations: 0 / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000117/0.246, allocations: 61.53 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.246, allocations: 7.984 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.246, allocations: 0 / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.246, allocations: 4.094 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.2461, allocations: 7.938 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.2461, allocations: 0 / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.2461, allocations: 7.906 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.2462, allocations: 4 kB / 0.787 GB, free: 9.586 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.0001024/0.2463, allocations: 189.1 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.2463, allocations: 109 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.706e-05/0.2464, allocations: 120.8 kB / 0.7874 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.784e-05/0.2465, allocations: 184.2 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.995e-05/0.2466, allocations: 180.2 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.897e-05/0.2466, allocations: 180.3 kB / 0.7879 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.2469, allocations: 417.2 kB / 0.7883 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.001e-05/0.2469, allocations: 104.9 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.247, allocations: 109 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.867e-05/0.2471, allocations: 185.4 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.2471, allocations: 184.2 kB / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-05/0.2472, allocations: 180.2 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.674e-05/0.2473, allocations: 188.2 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.2474, allocations: 319.7 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/0.2475, allocations: 182 kB / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.2476, allocations: 180.3 kB / 0.7898 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.2477, allocations: 113.1 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.2477, allocations: 180.3 kB / 0.7901 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.2478, allocations: 117 kB / 0.7902 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.665e-05/0.2479, allocations: 127.2 kB / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2479, allocations: 0 / 0.7904 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002149/0.2481, allocations: 4 kB / 0.7904 GB, free: 5.883 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.000469/0.2486, allocations: 0.8126 MB / 0.7912 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.599e-05/0.2487, allocations: 15.94 kB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2487, allocations: 0 / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.2487, allocations: 0 / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.2492, allocations: 470.7 kB / 0.7916 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.2506, allocations: 1.609 MB / 0.7932 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.2509, allocations: 0.6924 MB / 0.7939 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.2509, allocations: 7.984 kB / 0.7939 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.2509, allocations: 15.44 kB / 0.7939 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2509, allocations: 0 / 0.7939 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01872/0.2697, allocations: 1.613 MB / 0.7955 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.758, allocations: 7.938 kB / 0.7955 GB, free: 0.6016 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/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)