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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001615, 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.002088/0.002089, allocations: 187.5 kB / 16.64 MB, free: 6.594 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.62/1.62, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.83/1.83, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001438/0.001438, allocations: 68.83 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2878, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002511/0.2904, allocations: 0.7059 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.2914, allocations: 0.801 MB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.925e-05/0.2915, allocations: 0 / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.2916, allocations: 3.938 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.2917, allocations: 11.94 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.2918, allocations: 11.97 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.2919, allocations: 39.86 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.292, allocations: 23.97 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.2921, allocations: 15.94 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.2922, allocations: 19.91 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.2922, allocations: 4 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.2922, allocations: 4 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.2923, allocations: 7.938 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.2923, allocations: 15.92 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2924, allocations: 47.86 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2925, allocations: 0 / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.185e-06/0.2925, allocations: 4 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.587e-06/0.2925, allocations: 4 kB / 0.7858 GB, free: 11.01 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.000662/0.2931, allocations: 353.8 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.2932, allocations: 12.03 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.2933, allocations: 16.77 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.2935, allocations: 176.2 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.2935, allocations: 384 / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.2935, allocations: 12.31 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.2938, allocations: 66.22 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2938, allocations: 4.172 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.2939, allocations: 7.938 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.2939, allocations: 0 / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.2942, allocations: 63.92 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.2947, allocations: 268.9 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.295, allocations: 58.47 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.2951, allocations: 36.92 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.2952, allocations: 0 / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.2952, allocations: 34.56 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2952, allocations: 0 / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005643/0.2958, allocations: 133.5 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.2958, allocations: 51.41 kB / 0.7871 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/0.296, allocations: 113.8 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.296, allocations: 25.7 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.296, allocations: 92.05 kB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.2961, allocations: 7.891 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.2961, allocations: 13.72 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2963, allocations: 314.8 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2964, allocations: 31.95 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.2966, allocations: 35.97 kB / 0.7877 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.2969, allocations: 68.78 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2969, allocations: 3.938 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003298/0.2972, allocations: 101.6 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2972, allocations: 4 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2972, allocations: 0 / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.2973, allocations: 0 / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.2974, allocations: 19.97 kB / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2974, allocations: 0 / 0.7879 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.2975, allocations: 15.89 kB / 0.7879 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.2975, allocations: 0 / 0.7879 GB, free: 8.684 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 7.924e-05/0.2976, allocations: 118.4 kB / 0.788 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.2977, allocations: 4 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.2981, allocations: 109.5 kB / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.2981, allocations: 0 / 0.7881 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2981, allocations: 3.938 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2981, allocations: 4.375 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.2983, allocations: 173.5 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2983, allocations: 3.938 kB / 0.7883 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.2984, allocations: 19.98 kB / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2984, allocations: 0 / 0.7883 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2984, allocations: 4 kB / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.2984, allocations: 0 / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2985, allocations: 0 / 0.7883 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.2988, allocations: 203.3 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.2989, allocations: 81.11 kB / 0.7886 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.2989, allocations: 3.938 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.299, allocations: 15.98 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.2991, allocations: 3.984 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.2991, allocations: 0 / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.117e-05/0.2992, allocations: 99.56 kB / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2992, allocations: 0 / 0.7887 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002261/0.2994, allocations: 4 kB / 0.7887 GB, free: 7.746 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.0001914/0.2996, allocations: 106.6 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.3, allocations: 67.92 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3, allocations: 4 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.3002, allocations: 35.91 kB / 0.7889 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3005, allocations: 15.92 kB / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.301, allocations: 121.4 kB / 0.789 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.3013, allocations: 0.6807 MB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.3013, allocations: 8 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.718e-05/0.3014, allocations: 7.438 kB / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.3014, allocations: 0 / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.003579/0.305, allocations: 0.6748 MB / 0.7904 GB, free: 5.977 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1)